Foreign data wrappers

From PostgreSQL wiki

Revision as of 20:16, 25 August 2011 by Dpage (Talk | contribs)

Jump to: navigation, search


Foreign Data Wrappers

In 2003, a new extension called SQL/MED ( "SQL Management of External Data" ) was added to the SQL standard. It is a standardized way of handling access to remote objects in SQL databases. In 2011, PostgreSQL 9.1 was released with a great support of this standard.

In a nutshell, you can now use various Foreign Data Wrappers (FDW) to connect a PostgreSQL Server to remote data stores. This page is an incomplete list of the Wrappers available right now.

Please keep in mind that most of these wrappers are not officially supported by the PostgreSQL Global Development Group' (PGDG) and that some of these projects are still in Beta version. Use Carefully !

SQL Databases Wrappers

oracle_fdw :

mysql_fdw :

odbc_fdw is wrapper for databases with an ODBC driver, including Oracle, DB2, Microsoft SQL Server, Sybase, Pervasive SQL, IBM Lotus Domino, MySQL, PostgreSQL and desktop database products such as FileMaker and Microsoft Access :

NoSQL Databases Wrappers

couchdb_fdw is a wrapper for CouchDB

redis_fdw is a wrapper for Redis

File Wrappers

file_fdw is a CSV Files wrapper. It is a delivered as an official extension of PostgreSQL 9.1

file_text_array_fdw is another CSV wrapper :


twitter_fdw is a wrapper which fetches text messages from Twitter over the Internet and returns as a table :

Personal tools