Tables
Theinformation_schema.tables view contains all tables, views, sinks, and materialized views defined in the current database.
Materialized views are specific to the information schema of RisingWave. They are not included in the information schema of PostgreSQL.
information_schema.tables view contains the following columns.
Table constraints
Thetable_constraints view contains all constraints for tables that the current user owns or has privileges other than SELECT on.
The table_constraints view contains the following columns.
TEMPORARY LIMITATIONThis view assumes the constraint schema is the same as the table schema, since
pg_catalog.pg_constraint only supports primary key.Schemata
Theschemata view contains all accessible schemas in the current database for users, either by way of being the owner or having some privilege.
It contains the following columns.
Views
Theinformation_schema.views view contains information about the views in the database.
It contains the following columns.
TEMPORARY LIMITATIONUsers with access to
information_schema.views can potentially access all views, which poses a security risk. We are working to resolve this limitation. Once the fix is implemented, this message will be removed.Columns
Theinformation_schema.columns view contains information about columns of all tables, views, and materialized views in the database.
How to use the information schema views?
You can use various information schema views to determine the makeup of tables, sinks, views, and materialized views in a database. For example, you can query for names and types of all the tables, views, and materialized views in the current database:taxi_trip:
trip_id: