diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2012-10-10 16:53:08 -0400 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2012-10-10 16:53:08 -0400 |
commit | 8255566f9d479fdfeea09da3141d26afdbb5abe2 (patch) | |
tree | 00d54179dbdb5ea74c7fc782b001400993ff894b /src/backend/executor/execMain.c | |
parent | 392b2e5010ddce24bcb1a9d38adb1d06f01fb543 (diff) | |
download | postgresql-8255566f9d479fdfeea09da3141d26afdbb5abe2.tar.gz postgresql-8255566f9d479fdfeea09da3141d26afdbb5abe2.zip |
Create an improved FDW option validator function for contrib/dblink.
dblink now has its own validator function dblink_fdw_validator(), which is
better than the core function postgresql_fdw_validator() because it gets
the list of legal options from libpq instead of having a hard-wired list.
Make the dblink extension module provide a standard foreign data wrapper
dblink_fdw that encapsulates use of this validator, and recommend use of
that wrapper instead of making up wrappers on the fly.
Unfortunately, because ad-hoc wrappers *were* recommended practice
previously, it's not clear when we can get rid of postgresql_fdw_validator
without causing upgrade problems. But this is a step in the right
direction.
Shigeru Hanada, reviewed by KaiGai Kohei
Diffstat (limited to 'src/backend/executor/execMain.c')
0 files changed, 0 insertions, 0 deletions