oguimbal / pg-mem

An in memory postgres DB instance for your unit tests
MIT License
1.89k stars 94 forks source link

pg_type table contains zero rows #369

Open aaboyd opened 7 months ago

aaboyd commented 7 months ago

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