pg.ddx.io pgsql-committers@postgresql.org mailing list archive
help / color / mirror / Atom feedpgsql: Fix parallel-safety markings for contrib/dblink.
2+ messages / 2 participants
[nested] [flat]
* pgsql: Fix parallel-safety markings for contrib/dblink.
@ 2016-06-18 03:08 Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: Tom Lane @ 2016-06-18 03:08 UTC (permalink / raw)
To: pgsql-committers
Fix parallel-safety markings for contrib/dblink.
As shown by buildfarm reports, dblink_build_sql_insert and
dblink_build_sql_update are *not* parallel safe, because they
may attempt to access temporary tables of the local session.
Although dblink_build_sql_delete doesn't actually touch the
contents of the referenced table, it seems consistent and prudent
to mark it PARALLEL RESTRICTED too.
Branch
------
master
Details
-------
http://git.postgresql.org/pg/commitdiff/7e81a18d49f2ffc3397bde2660b255b56d8a6d77
Modified Files
--------------
contrib/dblink/dblink--1.1--1.2.sql | 6 +++---
contrib/dblink/dblink--1.2.sql | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: pgsql: Fix parallel-safety markings for contrib/dblink.
@ 2016-06-18 04:53 Robert Haas <robertmhaas@gmail.com>
parent: Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Robert Haas @ 2016-06-18 04:53 UTC (permalink / raw)
To: Tom Lane <tgl@sss.pgh.pa.us>; +Cc: pgsql-committers
On Fri, Jun 17, 2016 at 11:08 PM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Fix parallel-safety markings for contrib/dblink.
>
> As shown by buildfarm reports, dblink_build_sql_insert and
> dblink_build_sql_update are *not* parallel safe, because they
> may attempt to access temporary tables of the local session.
>
> Although dblink_build_sql_delete doesn't actually touch the
> contents of the referenced table, it seems consistent and prudent
> to mark it PARALLEL RESTRICTED too.
Ugh, thanks. I thought that's how they WERE marked, but evidently my
eyes were crossing by this point.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2016-06-18 04:53 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-06-18 03:08 pgsql: Fix parallel-safety markings for contrib/dblink. Tom Lane <tgl@sss.pgh.pa.us>
2016-06-18 04:53 ` Robert Haas <robertmhaas@gmail.com>
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