From: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com> |
---|---|
To: | Daniel Gustafsson <dgustafsson(at)pivotal(dot)io> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, ANASTACIO Tiago <tiago_anastacio(at)yahoo(dot)fr>, Peter Geoghegan <pg(at)bowt(dot)ie>, PostgreSQL mailing lists <pgsql-bugs(at)lists(dot)postgresql(dot)org> |
Subject: | Re: BUG #15726: parallel queries failed ERROR: invalid name syntax CONTEXT: parallel worker |
Date: | 2019-04-11 10:51:54 |
Message-ID: | CA+hUKGLftxFoLP6_qH6QnNPogTtOXp7cr+Bv7nV=CABRMWF_PQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
On Thu, Apr 11, 2019 at 8:59 PM Daniel Gustafsson
<dgustafsson(at)pivotal(dot)io> wrote:
> > On 2 Apr 2019, at 21:54, Thomas Munro <thomas(dot)munro(at)gmail(dot)com> wrote:
> > psql: ERROR: invalid name syntax
> > CONTEXT: while setting parameter "default_text_search_config" to ""
> > parallel worker
>
> This makes it a lot better, but I wonder if it needs even more clarification to
> be easily understandable by users not familiar with how parallel workers are
> initiated. I’m thinking we should add “during worker setup” or something
> similar to make it even clearer, albeit more verbose.
Thanks for the review. How about this?
postgres=# set force_parallel_mode = on;
SET
postgres=# select 42;
psql: ERROR: invalid name syntax
CONTEXT: while setting parameter "default_text_search_config" to ""
in a parallel worker process
parallel worker
I think this is a bug and should be back-patched. Objections?
--
Thomas Munro
https://enterprisedb.com
Attachment | Content-Type | Size |
---|---|---|
0001-When-restoring-GUCs-in-parallel-workers-show-an-e-v2.patch | application/octet-stream | 2.9 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel Gustafsson | 2019-04-11 11:39:06 | Re: BUG #15726: parallel queries failed ERROR: invalid name syntax CONTEXT: parallel worker |
Previous Message | Tobias Gierke | 2019-04-11 09:05:06 | Re: BUG #15747: Help says 'application_name' property supports 64 characters in a standard built but it's only 63 |