## 37.27. `foreign_server_options`

The view `foreign_server_options` contains all the options defined for foreign servers in the current database. Only those foreign servers are shown that the current user has access to (by way of being the owner or having some privilege).

Table 37.25. `foreign_server_options` Columns

Name | Data Type | Description
--- | --- | ---
`foreign_server_catalog` | `sql_identifier` | Name of the database that the foreign server is defined in (always the current database)
`foreign_server_name` | `sql_identifier` | Name of the foreign server
`option_name` | `sql_identifier` | Name of an option
`option_value` | `character_data` | Value of the option