Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEzLK-0001Mn-ON for pgsql-bugs@arkaria.postgresql.org; Fri, 12 Apr 2019 16:47:58 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hEzLJ-0002hY-HI for pgsql-bugs@arkaria.postgresql.org; Fri, 12 Apr 2019 16:47:57 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEzLJ-0002dh-9m for pgsql-bugs@lists.postgresql.org; Fri, 12 Apr 2019 16:47:57 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hEzLG-0001yh-MJ for pgsql-bugs@lists.postgresql.org; Fri, 12 Apr 2019 16:47:56 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x3CGlniX001339; Fri, 12 Apr 2019 12:47:49 -0400 From: Tom Lane To: Michael Paquier cc: Thomas Munro , Daniel Gustafsson , ANASTACIO Tiago , Peter Geoghegan , PostgreSQL mailing lists Subject: Re: BUG #15726: parallel queries failed ERROR: invalid name syntax CONTEXT: parallel worker In-reply-to: <20190412033250.GE2144@paquier.xyz> References: <1831482307.24522245.1554199154256@mail.yahoo.com> <29888.1554218381@sss.pgh.pa.us> <11677.1554995054@sss.pgh.pa.us> <20190412033250.GE2144@paquier.xyz> Comments: In-reply-to Michael Paquier message dated "Fri, 12 Apr 2019 12:32:50 +0900" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1337.1555087669.1@sss.pgh.pa.us> Date: Fri, 12 Apr 2019 12:47:49 -0400 Message-ID: <1338.1555087669@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Michael Paquier writes: > 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. After thinking about it some more: can't we just make the new context message be CONTEXT: while setting parameter "x" to "y" full stop? The outer context line about "parallel worker" should be enough for that. As a bonus, if we ever decide that such a context line would be useful for all GUC errors, we wouldn't need a different spelling of it for that. I took a quick look through the patch, and I think it's okay implementation-wise, though personally I'd have used some less generic name than "pair" for the variables. regards, tom lane