From: | Andres Freund <andres(at)anarazel(dot)de> |
---|---|
To: | Robert Haas <robertmhaas(at)gmail(dot)com> |
Cc: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-committers <pgsql-committers(at)postgresql(dot)org> |
Subject: | Re: pgsql: Add regression test for 04ae11f62e643e07c411c4935ea6af46cb112aa9 |
Date: | 2016-06-17 17:14:24 |
Message-ID: | 20160617171424.a524ysqpwiblm5va@alap3.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
On 2016-06-17 08:41:31 -0400, Robert Haas wrote:
> On Fri, Jun 17, 2016 at 12:55 AM, Amit Kapila <amit(dot)kapila16(at)gmail(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2016-06-17 19:39:21 | pgsql: Update dblink extension for parallel query. |
Previous Message | Robert Haas | 2016-06-17 17:02:38 | pgsql: postgres_fdw: Rephrase comment. |