From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Subject: Re: SQL-spec incompatibilities in similar_escape() and related stuff
Date: Fri, 17 May 2019 13:13:02 -0400
Message-ID: <29913.1558113182@sss.pgh.pa.us> (raw)
In-Reply-To: <CA+TgmoarLfSQcLCh7jx0737SZ28qwbuy+rUWT6rSHAO=B-6xdw@mail.gmail.com>
References: <14047.1557708214@sss.pgh.pa.us>
<8736lihni6.fsf@news-spur.riddles.org.uk>
<87v9yeg69c.fsf@news-spur.riddles.org.uk>
<87k1eufem8.fsf@news-spur.riddles.org.uk>
<4486.1557769997@sss.pgh.pa.us>
<87d0kmfbpq.fsf@news-spur.riddles.org.uk>
<CA+TgmoarLfSQcLCh7jx0737SZ28qwbuy+rUWT6rSHAO=B-6xdw@mail.gmail.com>
Robert Haas <robertmhaas@gmail.com> writes:
> I think it's pretty clear that the theoretical beauty of being able to
> handle postfix operators is not worth the tangible cost they impose on
> our parser. We're losing more users as a result of SQL that other
> systems can accept and we cannot than we are gaining by being able to
> support user-defined postfix operators.
I suppose it's possible to make such an argument, but you haven't
actually made one --- just asserted something without providing
evidence.
If we can lay out some concrete gains that justify zapping postfix
operators, I'd be willing to do it. I agree that it would likely
hurt few users ... but we need to be able to explain to those few
why we broke it. And show that the benefits outweigh the cost.
regards, tom lane
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 using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: tgl@sss.pgh.pa.us, robertmhaas@gmail.com, andrew@tao11.riddles.org.uk, pgsql-hackers@lists.postgresql.org
Subject: Re: SQL-spec incompatibilities in similar_escape() and related stuff
In-Reply-To: <29913.1558113182@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