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
Although SHOW TABLES is not a standard command in Postgres, users may still expect SHOW TABLES to behave the same as \dt. Besides, CockroachDB provide support for SHOW TABLES and it'll follow the search path.
SHOW TABLES will attempt to find a schema with the specified name first. If that fails, it will try to find a database with that name instead, and list the tables of its public schema. For more details, see Name Resolution.
Furthermore, should we delegate the implementation of 'SHOW' commands directly to the system tables for catalogs (i.e. \dt)?
The text was updated successfully, but these errors were encountered:
Currently when running
SHOW TABLES
in RisingWave, the schema search path is not followed and the default schemapublic
will always be used.risingwave/src/frontend/src/handler/show.rs
Lines 253 to 256 in 5be13a4
Although
SHOW TABLES
is not a standard command in Postgres, users may still expectSHOW TABLES
to behave the same as\dt
. Besides, CockroachDB provide support forSHOW TABLES
and it'll follow the search path.https://www.cockroachlabs.com/docs/stable/show-tables#parameters
Furthermore, should we delegate the implementation of 'SHOW' commands directly to the system tables for catalogs (i.e.
\dt
)?The text was updated successfully, but these errors were encountered: