Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pg_type table contains zero rows #369

Open
aaboyd opened this issue Nov 29, 2023 · 0 comments
Open

pg_type table contains zero rows #369

aaboyd opened this issue Nov 29, 2023 · 0 comments

Comments

@aaboyd
Copy link

aaboyd commented Nov 29, 2023

Describe the bug

Querying the pg_type table returns no results.

  const results = newDb().getSchema('pg_catalog').query('SELECT * FROM pg_type');
  console.log(JSON.stringify(results.rows, null, 2));
  // []
  const results = newDb().public.query('SELECT * FROM pg_type');
  console.log(JSON.stringify(results.rows, null, 2));
  // []

To Reproduce

SELECT * FROM pg_type;

pg-mem version

2.7.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant