From: | Robert Haas <rhaas(at)postgresql(dot)org> |
---|---|
To: | pgsql-committers(at)postgresql(dot)org |
Subject: | pgsql: Update dblink extension for parallel query. |
Date: | 2016-06-17 19:39:21 |
Message-ID: | E1bDzbt-0008Mk-Dc@gemulon.postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/20eb2731b7775f3381939d2667b6aa8ba62ab2c5
Modified Files
--------------
contrib/dblink/Makefile | 3 +-
contrib/dblink/dblink--1.1--1.2.sql | 46 +++++++
contrib/dblink/dblink--1.1.sql | 235 ------------------------------------
contrib/dblink/dblink--1.2.sql | 235 ++++++++++++++++++++++++++++++++++++
contrib/dblink/dblink.control | 2 +-
5 files changed, 284 insertions(+), 237 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2016-06-17 19:53:11 | pgsql: Add VACUUM (DISABLE_PAGE_SKIPPING) for emergencies. |
Previous Message | Andres Freund | 2016-06-17 17:14:24 | Re: pgsql: Add regression test for 04ae11f62e643e07c411c4935ea6af46cb112aa9 |