Metadata views
Query the MySQL name through the dialect or the PostgreSQL name from psql. SHOW helpers and the pending foreign key view are identified by their purpose.
Query the MySQL name through the dialect or the PostgreSQL name from psql. SHOW helpers and the pending foreign key view are identified by their purpose.
mys_informa_schema
| PostgreSQL object | MySQL name | Purpose | Source definition |
|---|---|---|---|
mys_informa_schema.columns | information_schema.columns | Column order, data types, defaults, keys and generated expressions. | SQL |
mys_informa_schema.empty_global_variables | information_schema.empty_global_variables | Global system variable names and values for SHOW GLOBAL VARIABLES. | SQL |
mys_informa_schema.empty_session_variables | information_schema.empty_session_variables | Session system variable names and values for SHOW VARIABLES. | SQL |
mys_informa_schema.functions | information_schema.functions | Routine names and attributes for SHOW FUNCTION or PROCEDURE STATUS. | SQL |
mys_informa_schema.indexs | information_schema.indexs | Index columns and constraint keys in the shape expected by SHOW. | SQL |
mys_informa_schema.key_column_usage | information_schema.key_column_usage | Columns participating in keys, including referenced foreign-key columns. | SQL |
mys_informa_schema.parameters | information_schema.parameters | Positional and named routine parameters with their SQL types. | SQL |
mys_informa_schema.partitions | information_schema.partitions | Partition names, partitioning methods and catalog estimates. | SQL |
mys_informa_schema.procedures | information_schema.procedures | Routine names and attributes for SHOW FUNCTION or PROCEDURE STATUS. | SQL |
mys_informa_schema.referential_constraints | information_schema.referential_constraints | Foreign keys, referenced tables and referential actions. | SQL |
mys_informa_schema.routines | information_schema.routines | Procedure and function metadata derived from pg_proc. | SQL |
mys_informa_schema.schemata | information_schema.schemata | Database names derived from PostgreSQL namespaces. | SQL |
mys_informa_schema.statistics | information_schema.statistics | One row per index key part, including its ordinal and prefix length. | SQL |
mys_informa_schema.table_constraints | information_schema.table_constraints | Constraint names and kinds for each table. | SQL |
mys_informa_schema.tables | information_schema.tables | Table and view names and their MySQL table types. | SQL |
mys_informa_schema.triggers | information_schema.triggers | Trigger names, event timing and action metadata. | SQL |
mys_informa_schema.views | information_schema.views | View names and MySQL-compatible view attributes. | SQL |
mysql
| PostgreSQL object | MySQL name | Purpose | Source definition |
|---|---|---|---|
mysql.dual | mysql.dual | Single dummy row for expressions queried FROM DUAL. | SQL |
mysql.pending_foreign_keys | mysql.pending_foreign_keys | Deferred foreign-key definitions awaiting their referenced tables. | SQL |
mysql.proc | mysql.proc | Procedure and function metadata derived from pg_proc. | SQL |