You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SELECTn.nspnameas"Schema",
c.relnameas"Name",
CASE c.relkind WHEN 'r' THEN 'table' WHEN 'v' THEN 'view' WHEN 'm' THEN 'materialized view' WHEN 'i' THEN 'index' WHEN 'S' THEN 'sequence' WHEN 't' THEN 'TOAST table' WHEN 'f' THEN 'foreign table' WHEN 'p' THEN 'partitioned table' WHEN 'I' THEN 'partitioned index' END as"Type",
pg_catalog.pg_get_userbyid(c.relowner) as"Owner"FROMpg_catalog.pg_class c
LEFT JOINpg_catalog.pg_namespace n ONn.oid=c.relnamespaceWHEREc.relkindIN ('r','p','')
ANDn.nspname<>'pg_catalog'ANDn.nspname !~ '^pg_toast'ANDn.nspname<>'information_schema'ANDpg_catalog.pg_table_is_visible(c.oid)
ORDER BY1,2;
\l
\dt
See:
The text was updated successfully, but these errors were encountered: