Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:114024 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 56464 invoked from network); 12 Apr 2021 05:59:46 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 12 Apr 2021 05:59:46 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id A65B51804DA for ; Sun, 11 Apr 2021 23:00:13 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from box.beccati.com (box.beccati.com [176.9.123.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Sun, 11 Apr 2021 23:00:12 -0700 (PDT) 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 189762002E2; Mon, 12 Apr 2021 08:00:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=beccati.com; s=mail; t=1618207211; bh=T3/33YG0eYR3Nw1kicd0RrK2zq1dYOfM/PuITsXhsnA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=EWl+FlIwdwSYlbeDT9vTt6zRhXLyr7auN6zxpV+gnEzUImKvxsBQTXkRloTppE6RJ j+UM/D7O/iF5d8smGUZ5bImhsiLr6YB8kDfbyLx5zoU3MYt6aGmdCZeahKzx0dyjA5 tDLhW2Acy8CDEjZ5TBlcvO9bCrfYiNpV2JPscVTjrKgJ0k/8qONpsrhi488GUR/V/T DLal2d0bREMgXaPuNaEpuEYfRJZKpBLdOdOxJHzvLjDa+auiJuesWnAj7wu+m5yqVV JsdNNdayCknX67lAFbfj9XUruG3IFqFiWKH5sgDQA+TeFbev5s0pUznVUa8tKYJ/lf 9ka2EgXSCVXpw== Message-ID: <3af0d306-05fd-c0a1-28c7-06efc885d428@beccati.com> Date: Mon, 12 Apr 2021 08:00:06 +0200 MIME-Version: 1.0 Content-Language: en-GB To: Sergei Morozov , Kamil Tekiela Cc: PHP Internals References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Use MySQL syntax only for parsing MySQL statements in PDO From: php@beccati.com (Matteo Beccati) Sergei, On 11/04/2021 19:48, Sergei Morozov wrote: > This is great to see this effort happening! As I understand, you also > implement an API for platform-specific parsers but via a much better > extensible API. > > I'm curious if instead of keeping the MySQL syntax in the default parser > and creating one for PostgreSQL, it would make sense to create a MySQL > parser and remove the support for backslash escaping from the default one? That's a possibility too. I'll think about it. >> Perhaps we could work together and come up with an RFC? > > Thanks for the offer but I don't think I'll be able to prioritize this > effort over my other projects. Based on the conversation above, reworking > the parser the right way requires a lot of investment and frankly speaking > it's not the most critical problem in the world to solve (all these bugs > are edge cases). Fair enough. Any other volunteer, I can bribe promising a phpday elephpant in exchange ;-) Cheers -- Matteo Beccati Development & Consulting - http://www.beccati.com/