postgresql_16:7.1.80.4 Examples
PostgreSQL 16 > Reference > SQL Commands > CREATE SERVER > Examples
Create a server myserver that uses the foreign-data wrapper postgres_fdw: CREATE SERVER myserver FOREIGN DATA WRAPPER postgres_fdw OPTIONS (host 'foo', dbname 'foodb', port '5432'); See (see postgresql_16:9.6.38) for more details.