Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkqCa-00085X-9o for pgsql-hackers@arkaria.postgresql.org; Thu, 03 Dec 2020 15:07:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1kkqCZ-0005dw-8p for pgsql-hackers@arkaria.postgresql.org; Thu, 03 Dec 2020 15:07:23 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkqCZ-0005do-1r for pgsql-hackers@lists.postgresql.org; Thu, 03 Dec 2020 15:07:23 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kkqCS-0007NV-KP for pgsql-hackers@postgresql.org; Thu, 03 Dec 2020 15:07:22 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 0B3F7Cap1722772; Thu, 3 Dec 2020 10:07:13 -0500 From: Tom Lane To: Peter Eisentraut cc: pgsql-hackers Subject: Re: Remove unnecessary grammar symbols In-reply-to: <3e3ccddb-41bd-ecd8-29fe-195e34d9886f@enterprisedb.com> References: <3e3ccddb-41bd-ecd8-29fe-195e34d9886f@enterprisedb.com> Comments: In-reply-to Peter Eisentraut message dated "Thu, 03 Dec 2020 10:50:50 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1722770.1607008032.1@sss.pgh.pa.us> Date: Thu, 03 Dec 2020 10:07:12 -0500 Message-ID: <1722771.1607008032@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Eisentraut writes: > While doing the proverbial other things, I noticed that the grammar > symbols publication_name_list and publication_name_item are pretty > useless. We already use name_list/name to refer to publications in most > places, so getting rid of these makes things more consistent. +1. Strictly speaking, this reduces the set of keywords that you can use as names here (since name is ColId, versus ColLabel in publication_name_item). However, given the inconsistency with other commands, I don't see it as an advantage to be more forgiving in just one place. We might have problems preserving the laxer definition anyway, if the syntaxes of these commands ever get any more complicated. regards, tom lane