Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hY5JL-0006Px-TH for pgsql-general@arkaria.postgresql.org; Tue, 04 Jun 2019 09:00:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hY5JK-000137-Oo for pgsql-general@arkaria.postgresql.org; Tue, 04 Jun 2019 09:00:50 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hY5JK-0000zf-Aw for pgsql-general@lists.postgresql.org; Tue, 04 Jun 2019 09:00:50 +0000 Received: from box.beccati.com ([176.9.123.236]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hY5JD-0003x5-NO for pgsql-general@lists.postgresql.org; Tue, 04 Jun 2019 09:00:49 +0000 Received: from authenticated-user (box.beccati.com [176.9.123.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by box.beccati.com (Postfix) with ESMTPSA id 73F5C200325 for ; Tue, 4 Jun 2019 11:00:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=beccati.com; s=mail; t=1559638842; bh=c2t9nNAYAdG2Q70EAJRss0+4CkE6zvHVeafhFF01sEs=; h=To:From:Subject:Date:From; b=cw3EjoTv1mDdkvqQP+wH2k23L2/96WWFzcLCd+ZpQeRTpGGzEi4wD1qZU2oZhE7FW laMj17cM0voyzoamwoZLrFwKs0dHPf/sBnTDOu/8jBcHjJ16ujHIe25QEDnBSWiw/g O/psszU8idGZoyZy5+RfzbEAhzCVpD6ZLzfH18yiWhF6japAtAamDB3/9Yv2IPu3AR sYjrhS8DMmqwyCg1AFR+/EPKAkobbk5tFrkAhP9B78XnAn/2+cgerwqdJlUQpEEByP xGulnpyF7iB/LNhnJ1Wye5HPiwSCfzRN3MSfj9T89d+ZVu8JkSeH39GQvPffVsz+er uxS/Gs+xnty6g== To: pgsql-general@lists.postgresql.org From: Matteo Beccati Subject: Research on ?? operators Message-ID: <4b588eb1-a3af-3e25-c1f1-16fb93e602e3@beccati.com> Date: Tue, 4 Jun 2019 11:00:39 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk 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/