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
at the moment supported is: case when <condition> then <value> ...
Example query:
SELECTn.nspnameas"Schema",
c.relnameas"Name",
CASE c.relkind WHEN 'r' THEN '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.relnamespaceLEFT JOINpg_catalog.pg_am am ONam.oid=c.relamWHEREc.relkindIN ('r','p','v','m','S','f','')
ANDn.nspname<>'pg_catalog'ANDn.nspname !~ '^pg_toast'-- <-------------ANDn.nspname<>'information_schema'ANDpg_catalog.pg_table_is_visible(c.oid)
ORDER BY1,2-- <-------------
The text was updated successfully, but these errors were encountered:
Add to support by parser:
~
) or not match operators (!~
)case <col> when <value> then <value> ...
case when <condition> then <value> ...
Example query:
The text was updated successfully, but these errors were encountered: