pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Robert Haas <rhaas@postgresql.org>
To: pgsql-committers@postgresql.org
Subject: pgsql: Update dblink extension for parallel query.
Date: Fri, 17 Jun 2016 19:39:21 +0000
Message-ID: <E1bDzbt-0008Mk-Dc@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (3+ messages)  latest in thread

Message-ID: <E1bDzbt-0008Mk-Dc@gemulon.postgresql.org>
Permalink:  ../E1bDzbt-0008Mk-Dc@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1bDzbt-0008Mk-Dc@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: rhaas@postgresql.org
  Subject: Re: pgsql: Update dblink extension for parallel query.
  In-Reply-To: <E1bDzbt-0008Mk-Dc@gemulon.postgresql.org>
  References: <E1bDzbt-0008Mk-Dc@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox