Choose your database:
MS SQL Server
SQL Anywhere

Subscribe to our news:
Daryl Joubert: "I am evaluating your PostgreSQL Maestro product for purchase by my company and thus far I am very impressed! I really like the easy, intuitive and productive user interface and feature set. I am also evaluating a number of other products for PostgreSQL database design and maintenence but thus far SQLMaestro stands head and shoulders above the rest".
Shafiq Far: "Just wanted to let you know that I think the SQL Maestro for Postgres is excellent. We've tried a variety over the past few years and none are even close to yours. Well done".


Add your opinion

PostgreSQL Maestro online Help

Prev Return to chapter overview Next

Foreign Servers

A Foreign Server typically encapsulates connection information that a foreign-data wrapper uses to access an external data resource. Additional user-specific connection information may be specified by means of user mappings. PostgreSQL Maestro supports only the postgres_fdw foreign data wrapper. Creating a server requires USAGE privilege on the foreign-data wrapper being used.


To add a new foreign server,

select the Foreign servers list or any object from that list in the explorer tree;
use the Create New Foreign Server ... item from the popup menu or press Ins;
specify options of this table in the Create Foreign Server Wizard.


The basic principles of Create Object Wizards in PostgreSQL Maestro are explained in a separate topic. Below you will find a description of wizard steps that are unique for the current object.


To change an existing foreign server, open the corresponding editor, modify necessary properties and click Apply changes.



The server name must be unique within the database.



The owner of a foreign server can create user mappings for that server for any user. Also, a user can create a user mapping for his own user name if USAGE privilege on the server has been granted to the user.



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. Postgres_fdw foreign data wrapper supports libpq options, except the following ones:

user and password (specify these for a user mapping, instead)
client_encoding (this is automatically set from the local server encoding)
fallback_application_name (always set to postgres_fdw)




Optional server type, potentially useful to foreign-data wrappers.



Optional server version, potentially useful to foreign-data wrappers.

Prev Return to chapter overview Next