pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matteo Beccati <php@beccati.com>
To: pgsql-general@lists.postgresql.org
Subject: Research on ?? operators
Date: Tue, 4 Jun 2019 11:00:39 +0200
Message-ID: <4b588eb1-a3af-3e25-c1f1-16fb93e602e3@beccati.com> (raw)

Hello generals,

I'm trying to resurrect a change to the PHP PDO driver to allow using
the "?" json operator (and other operators containing a question mark),
without it being interpreted as a placeholder for a query argument. In
order to do so, like Hibernate, I went for the double "??" escaping:

https://wiki.php.net/rfc/pdo_escape_placeholders

One question that I'm supposed to answer now is: is there any known
usage in the wild of some custom "??" operator that would require funny
escaping like "????"?

I've tried to search pgxn but couldn't find any match, so I thought it
was worth to try and ask here.


Cheers
-- 
Matteo Beccati

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





view thread (8+ messages)  latest in thread

Message-ID: <4b588eb1-a3af-3e25-c1f1-16fb93e602e3@beccati.com>
Permalink:  ../4b588eb1-a3af-3e25-c1f1-16fb93e602e3@beccati.com/
Also on:    postgresql.org/message-id/4b588eb1-a3af-3e25-c1f1-16fb93e602e3@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
  Subject: Re: Research on ?? operators
  In-Reply-To: <4b588eb1-a3af-3e25-c1f1-16fb93e602e3@beccati.com>
  References: <4b588eb1-a3af-3e25-c1f1-16fb93e602e3@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