Re: BUG #15726: parallel queries failed ERROR: invalid name syntax CONTEXT: parallel worker

Michael Paquier <michael@paquier.xyz>

From: Michael Paquier <michael@paquier.xyz>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Thomas Munro <thomas.munro@gmail.com>, Daniel Gustafsson <dgustafsson@pivotal.io>, ANASTACIO Tiago <tiago_anastacio@yahoo.fr>, Peter Geoghegan <pg@bowt.ie>, PostgreSQL mailing lists <pgsql-bugs@lists.postgresql.org>
Date: 2019-04-12T03:32:50Z
Lists: pgsql-bugs
On Thu, Apr 11, 2019 at 11:04:14AM -0400, Tom Lane wrote:
> The extra appearance of "parallel worker" seems a bit redundant,
> though I don't know if we can get rid of it.
> 
> Could we at least be consistent about whether the context is
> "parallel worker" or "parallel worker process"?

Indeed.  My vote would be to back-patch that stuff.
--
Michael

Commits

  1. When restoring GUCs in parallel workers, show an error context.

  2. Defer restoration of libraries in parallel workers.