pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Peter Eisentraut <peter.eisentraut@enterprisedb.com>
Cc: pgsql-hackers <pgsql-hackers@postgresql.org>
Subject: Re: Remove unnecessary grammar symbols
Date: Thu, 03 Dec 2020 10:07:12 -0500
Message-ID: <1722771.1607008032@sss.pgh.pa.us> (raw)
In-Reply-To: <3e3ccddb-41bd-ecd8-29fe-195e34d9886f@enterprisedb.com>
References: <3e3ccddb-41bd-ecd8-29fe-195e34d9886f@enterprisedb.com>

Peter Eisentraut <peter.eisentraut@enterprisedb.com> 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





view thread (2+ messages)

Message-ID: <1722771.1607008032@sss.pgh.pa.us>
Permalink:  ../1722771.1607008032@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1722771.1607008032@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-hackers@postgresql.org
  Cc: tgl@sss.pgh.pa.us, peter.eisentraut@enterprisedb.com
  Subject: Re: Remove unnecessary grammar symbols
  In-Reply-To: <1722771.1607008032@sss.pgh.pa.us>
  References: <3e3ccddb-41bd-ecd8-29fe-195e34d9886f@enterprisedb.com> <1722771.1607008032@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox