oguimbal / pg-mem

An in memory postgres DB instance for your unit tests

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pg_type table contains zero rows

aaboyd opened this issue · comments

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