postgresql_16:7.1.80 CREATE SERVER
PostgreSQL 16 > Reference > SQL Commands > CREATE SERVER
define a new foreign server
CREATE SERVER [ IF NOT EXISTS ] server_name [ TYPE 'server_type' ] [ VERSION 'server_version' ]
FOREIGN DATA WRAPPER fdw_name
[ OPTIONS ( option 'value' [, ... ] ) ]
CREATE SERVER [ IF NOT EXISTS ] server_name [ TYPE 'server_type' ] [ VERSION 'server_version' ]
FOREIGN DATA WRAPPER fdw_name
[ OPTIONS ( option 'value' [, ... ] ) ]
Subsections
- postgresql_16:7.1.80.1 Description
- postgresql_16:7.1.80.2 Parameters
- postgresql_16:7.1.80.3 Notes
- postgresql_16:7.1.80.4 Examples
- postgresql_16:7.1.80.5 Compatibility
- postgresql_16:7.1.80.6 See Also