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 1hY76V-0000aH-7c for pgsql-general@arkaria.postgresql.org; Tue, 04 Jun 2019 10:55:43 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hY76U-0006CG-1j for pgsql-general@arkaria.postgresql.org; Tue, 04 Jun 2019 10:55:42 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hY76T-00068V-JT for pgsql-general@lists.postgresql.org; Tue, 04 Jun 2019 10:55:41 +0000 Received: from box.beccati.com ([176.9.123.236]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hY76M-0005Ol-0L for pgsql-general@lists.postgresql.org; Tue, 04 Jun 2019 10:55:40 +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 14DEF200244; Tue, 4 Jun 2019 12:55:30 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=beccati.com; s=mail; t=1559645731; bh=207GDeMDU7mVupz54hz+qYPu7lXlKAXNQPtBzO6jJKs=; h=Subject:To:Cc:References:From:Date:In-Reply-To:From; b=ECMZpboSdgaI9dDwJ3J9AbwJFm0V1FRyDGqlViAqgRP41nZ2C5kN0qOaFijCQLLqu Y4WpRFaQnKKy8BofJLaImnLWV/FnAccxpS8y4HMMY7PlNNwvxwTd11iwUKVfGR73+E bqgvl2CNOs3OfL0IdAlWTuqyMI46xM5MLakIAecfgqQ37bLqwuXCTh/uhgu5NIKMst X0D8Yzb1dRrg/D9vvyRJJGncWohTRZre1PQn8C7qk91lMombRSTa8IWh+vflcR5BZg th44MAIxAbvr/zlMvuBbFVKZJDTfu3h601+/Zb02QD+QUW5joXY2tnUuHWUuNDyCh9 f3zgHFCtH53JQ== Subject: Re: Research on ?? operators To: Andrew Gierth Cc: pgsql-general@lists.postgresql.org References: <4b588eb1-a3af-3e25-c1f1-16fb93e602e3@beccati.com> <8736kpab7b.fsf@news-spur.riddles.org.uk> From: Matteo Beccati Message-ID: <361c8626-c824-17d4-2dda-a8455cee83aa@beccati.com> Date: Tue, 4 Jun 2019 12:55:27 +0200 MIME-Version: 1.0 In-Reply-To: <8736kpab7b.fsf@news-spur.riddles.org.uk> 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 Hi Andrew, On 04/06/2019 12:38, Andrew Gierth wrote: >>>>>> "Matteo" == Matteo Beccati 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/