Re: Research on ?? operators

From: Matteo Beccati <php(at)beccati(dot)com>
To: Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>
Cc: pgsql-general(at)lists(dot)postgresql(dot)org
Subject: Re: Research on ?? operators
Date: 2019-06-04 10:55:27
Message-ID: 361c8626-c824-17d4-2dda-a8455cee83aa@beccati.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi Andrew,

On 04/06/2019 12:38, Andrew Gierth wrote:
>>>>>> "Matteo" == Matteo Beccati <php(at)beccati(dot)com> writes:
>
> Matteo> https://wiki.php.net/rfc/pdo_escape_placeholders
>
> Matteo> One question that I'm supposed to answer now is: is there any
> Matteo> known usage in the wild of some custom "??" operator that would
> Matteo> require funny escaping like "????"?
>
> I don't recall seeing a ?? operator in the wild, but it is a perfectly
> legal operator name and you should assume that it exists somewhere.

Absolutely yes, that's why it is mentioned in my RFC and will be
eventually mentioned in the UPGRADE documentation.

But perhaps we can also safely assume that 99.9% of the users won't have
any operator containing "??", so it can be considered a minor BC-break.

Cheers
--
Matteo Beccati

Development & Consulting - http://www.beccati.com/

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Matteo Beccati 2019-06-04 11:01:49 Re: Research on ?? operators
Previous Message Steve Atkins 2019-06-04 10:49:36 Re: Research on ?? operators