mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
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
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user