pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matteo Beccati <php@beccati.com>
To: Andrew Gierth <andrew@tao11.riddles.org.uk>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Research on ?? operators
Date: Tue, 4 Jun 2019 12:55:27 +0200
Message-ID: <361c8626-c824-17d4-2dda-a8455cee83aa@beccati.com> (raw)
In-Reply-To: <8736kpab7b.fsf@news-spur.riddles.org.uk>
References: <4b588eb1-a3af-3e25-c1f1-16fb93e602e3@beccati.com>
	<8736kpab7b.fsf@news-spur.riddles.org.uk>

Hi Andrew,

On 04/06/2019 12:38, Andrew Gierth wrote:
>>>>>> "Matteo" == Matteo Beccati <php@beccati.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/





view thread (8+ messages)  latest in thread

Message-ID: <361c8626-c824-17d4-2dda-a8455cee83aa@beccati.com>
Permalink:  ../361c8626-c824-17d4-2dda-a8455cee83aa@beccati.com/
Also on:    postgresql.org/message-id/361c8626-c824-17d4-2dda-a8455cee83aa@beccati.com

 · 

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-general@postgresql.org
  Cc: php@beccati.com, andrew@tao11.riddles.org.uk
  Subject: Re: Research on ?? operators
  In-Reply-To: <361c8626-c824-17d4-2dda-a8455cee83aa@beccati.com>
  References: <4b588eb1-a3af-3e25-c1f1-16fb93e602e3@beccati.com> <8736kpab7b.fsf@news-spur.riddles.org.uk> <361c8626-c824-17d4-2dda-a8455cee83aa@beccati.com>

* 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