The pg_foreign_table catalog provides information about foreign tables.
| Column name | Data type | Description |
|---|---|---|
ftrelid |
oid (references pg_class.oid) |
The OID of the pg_class entry for the foreign table. |
ftserver |
oid (references pg_foreign_server.oid) |
The OID of the foreign server associated with this foreign table. |
ftoptions |
text[] |
Options specific to this foreign table, expressed as “keyword=value” strings. |