36.26. foreign_data_wrappers

The view foreign_data_wrappers contains all foreign-data wrappers defined in the current database. Only those foreign-data wrappers are shown that the current user has access to (by way of being the owner or having some privilege).

Table 36.24. foreign_data_wrappers Columns

NameData TypeDescription
foreign_data_wrapper_catalogsql_identifierName of the database that contains the foreign-data wrapper (always the current database)
foreign_data_wrapper_namesql_identifierName of the foreign-data wrapper
authorization_identifiersql_identifierName of the owner of the foreign server
library_namecharacter_dataFile name of the library that implementing this foreign-data wrapper
foreign_data_wrapper_languagecharacter_dataLanguage used to implement this foreign-data wrapper