PostgreSQL 8.4beta1 Documentation | ||||
---|---|---|---|---|
Prev | Fast Backward | Fast Forward | Next |
CREATE SERVER servername [ TYPE 'servertype' ] [ VERSION 'serverversion' ] FOREIGN DATA WRAPPER fdwname [ OPTIONS ( option 'value' [, ... ] ) ]
CREATE SERVER defines a new foreign server. The user who defines the server becomes its owner.
The server name must be unique within the database.
Creating a server requires USAGE privilege on the foreign-data wrapper being used.
The name of the foreign server to be created.
Optional server type.
Optional server version.
The name of the foreign-data wrapper that manages the server.
This clause specifies the options for the server. The options typically define the connection details of the server, but the actual names and values are dependent on the server's foreign-data wrapper.