diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2013-02-21 05:26:23 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2013-02-21 05:27:16 -0500 |
commit | d0d75c402217421b691050857eb3d7af82d0c770 (patch) | |
tree | 1d934b75b12e41c80520ce3aea6830e3bbe4b718 /src/backend/foreign/foreign.c | |
parent | f435cd1d385859a0cdb1d70fccc21dde2b1ee116 (diff) | |
download | postgresql-d0d75c402217421b691050857eb3d7af82d0c770.tar.gz postgresql-d0d75c402217421b691050857eb3d7af82d0c770.zip |
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
Diffstat (limited to 'src/backend/foreign/foreign.c')
-rw-r--r-- | src/backend/foreign/foreign.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/backend/foreign/foreign.c b/src/backend/foreign/foreign.c index 872ed1f029c..bfcc323924a 100644 --- a/src/backend/foreign/foreign.c +++ b/src/backend/foreign/foreign.c @@ -485,11 +485,15 @@ is_conninfo_option(const char *option, Oid context) /* * Validate the generic option given to SERVER or USER MAPPING. - * Raise an ERROR if the option or its value is considered - * invalid. + * Raise an ERROR if the option or its value is considered invalid. * * Valid server options are all libpq conninfo options except * user and password -- these may only appear in USER MAPPING options. + * + * Caution: this function is deprecated, and is now meant only for testing + * purposes, because the list of options it knows about doesn't necessarily + * square with those known to whichever libpq instance you might be using. + * Inquire of libpq itself, instead. */ Datum postgresql_fdw_validator(PG_FUNCTION_ARGS) |