postgres foreign tables data - ghdrako/doc_snipets GitHub Wiki

only postgres_fdw and file_fdw are part of the official Postgres distribution.

List

\detr
select * from information_schema.foreign_tables;
select table_name,table_type from information_schema.tables where table_type='FOREIGN TABLE' and table_schema='public';