pg_mysql object index
All counts in this index come from one fresh installation of pg_mysql 1.0 on Mimus 19.0.1. Its source matches pg_mysql commit 0d51adc. For changes between this snapshot and r4, see the source comparison through 1e631f9.
Look up a function by name, match an operator and its operands, or find the PostgreSQL object behind an information_schema view. Each signature has a permanent page anchor.
SQL objects
| Category | Entries | Look up |
|---|---|---|
| Schemas | 4 | Namespace names as seen from PostgreSQL and MySQL. |
| Types and domains | 97 | 3 binary base types, 23 domains and 71 enumerations. |
| Collations | 5 | Choose a collation for character comparisons or check a column’s ordering dependency. |
| Casts | 88 | 80 assignment and 8 implicit casts. |
| Functions | 1859 | Find a function by name, then choose the overload that matches the argument types. |
| Aggregates | 7 | SQL aggregates, their input types and the result produced for a group. |
| Operators | 665 | Match the symbol and both operand types. NONE in the left slot denotes a unary prefix operator. |
| Metadata views | 20 | 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. |
| Metadata tables | 180 | These physical tables provide compatibility metadata. Seed counts describe a fresh install. Performance Schema tables start empty. |
| Index access method, classes and families | 51 | 1 access method, 27 operator classes and 23 operator families. |
Index and constraint dependencies
| Category | Entries | Look up |
|---|---|---|
| Operator family members | 168 | 127 strategy operators and 41 support function registrations. |
| Table indexes | 119 | 61 explicit indexes and 58 indexes backing primary keys. |
| Primary keys and domain checks | 71 | 58 primary keys and 13 domain checks. |
| NOT NULL in metadata schemas | 341 | Column constraints in the compatibility catalogs outside Performance Schema, ordered by the owning table’s initial. |
| NOT NULL in performance_schema.events_* | 481 | Catalog constraint names and column definitions for Performance Schema event tables. |
| NOT NULL in other performance_schema tables | 589 | Catalog constraint names and column definitions for the remaining Performance Schema tables. |
Version and counting rules
Source links point to the files and lines used for this installation. Generated definition links to the SQL statement that created the object. C links to the C implementation of the SQL entry point.
The 4,745 entries in this installation include 2,976 direct extension members and 1,769 dependent objects (family entries, table indexes and constraints). PostgreSQL also records 497 derived types as extension members. These comprise one row type for each of the 180 tables and 20 views, and one array type for each of those 200 row types and the 97 declared types. Look up a row type under its relation’s name, or an array under its element type. Counts exclude those derived types. Each overload counts once. A type’s forward declaration and completed definition share one entry.
Seed rows are documented with their tables. PUBLIC receives schema USAGE and SELECT on the extension tables and views, plus REFERENCES on mysql.dual. Restricted function privileges are noted with the relevant function. Relation grants
Namespace names as seen from PostgreSQL and MySQL.
SQL types used by column declarations, binary literals and metadata tables.
Choose a collation for character comparisons or check a column’s ordering dependency.
Look up a source and target type. The section gives the least restrictive context in which PostgreSQL can use that cast.
Find a function by name, then choose the overload that matches the argument types.
SQL aggregates, their input types and the result produced for a group.
Match the symbol and both operand types. NONE in the left slot denotes a unary prefix operator.
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.
These physical tables provide compatibility metadata. Seed counts describe a fresh install. Performance Schema tables start empty.
Find the access method, the default operator class for a type and its family. Class and family names can coincide.
Index dependencies by family, access method, strategy or support number, and operand pair. Each row names the registered operator or function.
Physical indexes on the compatibility tables, including the unique indexes that enforce their primary keys.
Find the database-assigned constraint name, its owning table or domain and the installed expression.
Column constraints in the compatibility catalogs outside Performance Schema, ordered by the owning table’s initial.
Catalog constraint names and column definitions for Performance Schema event tables.
Catalog constraint names and column definitions for the remaining Performance Schema tables.