Re: Allow subfield references without parentheses - Mailing list pgsql-hackers

From Kirill Reshke
Subject Re: Allow subfield references without parentheses
Date
Msg-id CALdSSPjf4dsEckp+O2t0e4Lms8DHP+UxQmOfRTcaaNOQmhJ8mQ@mail.gmail.com
Whole thread Raw
In response to Re: Allow subfield references without parentheses  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers


On Thu, 12 Dec 2024, 21:45 Tom Lane, <tgl@sss.pgh.pa.us> wrote:
Peter Eisentraut <peter@eisentraut.org> writes:
> This patch allows subfield references in column references without
> parentheses, subject to certain condition.  This implements (hopes to,
> anyway) the rules from the SQL standard (since SQL99).
> This has been requested a number of times over the years.  [0] is a
> recent discussion that has mentioned it.

The obvious concern about this is introduction of ambiguity where
there was none before.


IMHO SQL standard compatibility is a more compelling argument here.

pgsql-hackers by date:

Previous
From: Sutou Kouhei
Date:
Subject: Re: confusing / inefficient "need_transcoding" handling in copy
Next
From: Hunaid Sohail
Date:
Subject: Re: Psql meta-command conninfo+