Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sql/cat_tools.sql.in
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ CREATE OR REPLACE VIEW _cat_tools.pg_class_v AS
LEFT JOIN pg_namespace n ON( n.oid = c.relnamespace )
;
$fmt$
, __cat_tools.omit_column('pg_catalog.pg_class')
, __cat_tools.omit_column('pg_catalog.pg_class', array['oid', 'relhasoids', 'relhaspkey'])
));
REVOKE ALL ON _cat_tools.pg_class_v FROM public;

Expand Down Expand Up @@ -766,7 +766,7 @@ $fmt$
* attmissingval is explicitly included above (cast to text[] via SED markers).
* Omit it here so it doesn't appear twice, and omit oid to avoid conflicts on PG12+.
*/
, __cat_tools.omit_column('pg_catalog.pg_attribute', array['oid', 'attmissingval'])
, __cat_tools.omit_column('pg_catalog.pg_attribute', array['oid', 'attmissingval', 'attcacheoff'])
, __cat_tools.omit_column('pg_catalog.pg_type')
));
REVOKE ALL ON _cat_tools.pg_attribute_v FROM public;
Expand Down
Loading