RefLib

Reference library for AI

Back

postgresql_16:7.1.149.2 Parameters

PostgreSQL 16 > Reference > SQL Commands > IMPORT FOREIGN SCHEMA > Parameters

*remote_schema*

The remote schema to import from. The specific meaning of a remote schema depends on the foreign data wrapper in use.

**LIMIT TO ( *table_name* [, ...] )**

Import only foreign tables matching one of the given table names. Other tables existing in the foreign schema will be ignored.

**EXCEPT ( *table_name* [, ...] )**

Exclude specified foreign tables from the import. All tables existing in the foreign schema will be imported except the ones listed here.

*server_name*

The foreign server to import from.

*local_schema*

The schema in which the imported foreign tables will be created.

**OPTIONS ( *option* '*value*' [, ...] )**

Options to be used during the import. The allowed option names and values are specific to each foreign data wrapper.

Back