From: Andres Freund <andres@anarazel.de>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Amit Kapila <amit.kapila16@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-committers <pgsql-committers@postgresql.org>
Subject: Re: pgsql: Add regression test for 04ae11f62e643e07c411c4935ea6af46cb112aa9
Date: Fri, 17 Jun 2016 10:14:24 -0700
Message-ID: <20160617171424.a524ysqpwiblm5va@alap3.anarazel.de> (raw)
In-Reply-To: <CA+TgmoY0Lp5420rXzOsnFZxX31BOVqdKocSemNkRDoA+oWzX+A@mail.gmail.com>
References: <E1bDZlZ-0006XH-0e@gemulon.postgresql.org>
<8746.1466135448@sss.pgh.pa.us>
<CAA4eK1KubwdK5KiAmR2hMS0Qf+Xid5CLNO1yu2-mpnjT9tcXzA@mail.gmail.com>
<CA+TgmoY0Lp5420rXzOsnFZxX31BOVqdKocSemNkRDoA+oWzX+A@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>
On 2016-06-17 08:41:31 -0400, Robert Haas wrote:
> On Fri, Jun 17, 2016 at 12:55 AM, Amit Kapila <amit.kapila16@gmail.com> wrote:
> > Isn't it possible that the below statement used in parallel restricted
> > function fails in leader backend itself:
> > + perform * from pg_stat_activity where client_port is null;
> > + if (found) then
> > + raise 'parallel restricted function run in worker';
> > + end if;
>
> Yeah, I can't believe I managed to be dumb enough to think that was
> going to work.
>
> Clearly, I shouldn't be trusted with anything more dangerous than a
> dull pair of scissors.
Dull scissors actually cause much harder to sow up / heal wounds, than
sharp ones ... :P
--
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers
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: andres@anarazel.de, robertmhaas@gmail.com, amit.kapila16@gmail.com, tgl@sss.pgh.pa.us
Subject: Re: pgsql: Add regression test for 04ae11f62e643e07c411c4935ea6af46cb112aa9
In-Reply-To: <20160617171424.a524ysqpwiblm5va@alap3.anarazel.de>
References: <E1bDZlZ-0006XH-0e@gemulon.postgresql.org> <8746.1466135448@sss.pgh.pa.us> <CAA4eK1KubwdK5KiAmR2hMS0Qf+Xid5CLNO1yu2-mpnjT9tcXzA@mail.gmail.com> <CA+TgmoY0Lp5420rXzOsnFZxX31BOVqdKocSemNkRDoA+oWzX+A@mail.gmail.com> <20160617171424.a524ysqpwiblm5va@alap3.anarazel.de>
* 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