Add postgres_fdw contrib module.
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Feb 2013 10:26:23 +0000 (05:26 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Feb 2013 10:27:16 +0000 (05:27 -0500)
commitd0d75c402217421b691050857eb3d7af82d0c770
tree1d934b75b12e41c80520ce3aea6830e3bbe4b718
parentf435cd1d385859a0cdb1d70fccc21dde2b1ee116
Add postgres_fdw contrib module.

There's still a lot of room for improvement, but it basically works,
and we need this to be present before we can do anything much with the
writable-foreign-tables patch.  So let's commit it and get on with testing.

Shigeru Hanada, reviewed by KaiGai Kohei and Tom Lane
28 files changed:
contrib/Makefile
contrib/postgres_fdw/.gitignore [new file with mode: 0644]
contrib/postgres_fdw/Makefile [new file with mode: 0644]
contrib/postgres_fdw/connection.c [new file with mode: 0644]
contrib/postgres_fdw/deparse.c [new file with mode: 0644]
contrib/postgres_fdw/expected/postgres_fdw.out [new file with mode: 0644]
contrib/postgres_fdw/option.c [new file with mode: 0644]
contrib/postgres_fdw/postgres_fdw--1.0.sql [new file with mode: 0644]
contrib/postgres_fdw/postgres_fdw.c [new file with mode: 0644]
contrib/postgres_fdw/postgres_fdw.control [new file with mode: 0644]
contrib/postgres_fdw/postgres_fdw.h [new file with mode: 0644]
contrib/postgres_fdw/sql/postgres_fdw.sql [new file with mode: 0644]
doc/src/sgml/client-auth.sgml
doc/src/sgml/contrib.sgml
doc/src/sgml/dblink.sgml
doc/src/sgml/filelist.sgml
doc/src/sgml/libpq.sgml
doc/src/sgml/postgres-fdw.sgml [new file with mode: 0644]
doc/src/sgml/queries.sgml
doc/src/sgml/recovery-config.sgml
doc/src/sgml/ref/create_foreign_data_wrapper.sgml
doc/src/sgml/ref/create_foreign_table.sgml
doc/src/sgml/ref/create_server.sgml
doc/src/sgml/ref/grant.sgml
doc/src/sgml/ref/pg_isready.sgml
doc/src/sgml/ref/psql-ref.sgml
doc/src/sgml/runtime.sgml
src/backend/foreign/foreign.c