CREATE FOREIGN TABLE

A DDL command to create a foreign table

CREATE FOREIGN TABLE is a DDL command to create a foreign table for a remote data source accessed via a foreign data wrapper (FDW).

CREATE FOREIGN TABLE was added in PostgreSQL 9.1.

Change history

Categories

DDL, Foreign Data Wrapper (FDW), SQL command

See also

ALTER FOREIGN TABLE, DROP FOREIGN TABLE, foreign table