]> granicus.if.org Git - postgresql/commit
Update dblink extension for parallel query.
authorRobert Haas <rhaas@postgresql.org>
Fri, 17 Jun 2016 19:09:57 +0000 (15:09 -0400)
committerRobert Haas <rhaas@postgresql.org>
Fri, 17 Jun 2016 19:18:44 +0000 (15:18 -0400)
commit20eb2731b7775f3381939d2667b6aa8ba62ab2c5
treed34f4bdb92c64ac4b75c1ae6c3dd6b142f4d0fdb
parent177c56d608d834ee1b0869e4e6a5b73de4227ea4
Update dblink extension for parallel query.

Almost all functions provided by this extension are PARALLEL
RESTRICTED.  Mostly, that's because the leader's TCP connections won't
be shared with the workers, but in some cases like dblink_get_pkey
it's because they obtain locks which might be released early if taken
within a parallel worker.  dblink_fdw_validator probably can't be used
in a query anyway, but there would be no problem from the point of
view of parallel query if it were, so it's PARALLEL SAFE.

Andreas Karlsson
contrib/dblink/Makefile
contrib/dblink/dblink--1.1--1.2.sql [new file with mode: 0644]
contrib/dblink/dblink--1.2.sql [moved from contrib/dblink/dblink--1.1.sql with 75% similarity]
contrib/dblink/dblink.control