git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 392b2e5) | patch
Create an improved FDW option validator function for contrib/dblink.
2012年10月10日 20:53:08 +0000 (16:53 -0400)
2012年10月10日 20:53:08 +0000 (16:53 -0400)
commit 8255566f9d479fdfeea09da3141d26afdbb5abe2
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
contrib/dblink/Makefile diff | blob | blame | history
contrib/dblink/dblink--1.0--1.1.sql [new file with mode: 0644] blob
contrib/dblink/dblink--1.1.sql [moved from contrib/dblink/dblink--1.0.sql with 94% similarity] diff | blob | blame | history
contrib/dblink/dblink.c diff | blob | blame | history
contrib/dblink/dblink.control diff | blob | blame | history
contrib/dblink/dblink.h diff | blob | blame | history
contrib/dblink/expected/dblink.out diff | blob | blame | history
contrib/dblink/sql/dblink.sql diff | blob | blame | history
doc/src/sgml/dblink.sgml diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /