mirror of
https://github.com/postgres/postgres.git
synced 2025-06-29 10:41:53 +03:00
Create the catalog infrastructure for foreign-data-wrapper handlers.
Add a fdwhandler column to pg_foreign_data_wrapper, plus HANDLER options in the CREATE FOREIGN DATA WRAPPER and ALTER FOREIGN DATA WRAPPER commands, plus pg_dump support for same. Also invent a new pseudotype fdw_handler with properties similar to language_handler. This is split out of the "FDW API" patch for ease of review; it's all stuff we will certainly need, regardless of any other details of the FDW API. FDW handler functions will not actually get called yet. In passing, fix some omissions and infelicities in foreigncmds.c. Shigeru Hanada, Jan Urbanski, Heikki Linnakangas
This commit is contained in:
@ -508,6 +508,8 @@ extern Datum trigger_in(PG_FUNCTION_ARGS);
|
||||
extern Datum trigger_out(PG_FUNCTION_ARGS);
|
||||
extern Datum language_handler_in(PG_FUNCTION_ARGS);
|
||||
extern Datum language_handler_out(PG_FUNCTION_ARGS);
|
||||
extern Datum fdw_handler_in(PG_FUNCTION_ARGS);
|
||||
extern Datum fdw_handler_out(PG_FUNCTION_ARGS);
|
||||
extern Datum internal_in(PG_FUNCTION_ARGS);
|
||||
extern Datum internal_out(PG_FUNCTION_ARGS);
|
||||
extern Datum opaque_in(PG_FUNCTION_ARGS);
|
||||
|
Reference in New Issue
Block a user