Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:123149 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id 11D621A009C for ; Wed, 17 Apr 2024 15:01:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1713366121; bh=hoVFa1yz190tMrVsdwW3UsNBM1BwyStu1J3n57GVA5Q=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=lDv0cwflz8dwD2hhIDNXE/xz/c+rD4xpDWIRxam3K59zRYLVnFh7eICUXJSocvc2a Ze5Jm6bwyXlU9UTYFL1SLuJiLaRlo67K94JlaUhWbXcEZJzauTscmL/GFEHECLqf0P 5TqilR/euuR4To5hGPKPw7NJmkxnvyNd6wNHI1EbMT7CQcjCRSWIy1cA0wONGQTjvK gttjM7GzaS62u1CPc2G3eUMypMuWD00z8XX/AQgxSko7DF9IwppQejfqLRyWHm27Yx ELemeQphVmmidxIv8HNanXVz6zPaHfd7pb6KHwxTHQ/rvezrNjI6tVo2TLRpITkBLj wP7zFBu1OlhfQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 413AA180004 for ; Wed, 17 Apr 2024 15:01:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,DMARC_MISSING, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from supercat.cmpct.info (supercat.cmpct.info [71.19.146.230]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Wed, 17 Apr 2024 15:01:57 +0000 (UTC) Received: from smtpclient.apple (fctnnbsc38w-142-162-55-237.dhcp-dynamic.fibreop.nb.bellaliant.net [142.162.55.237]) by supercat.cmpct.info (Postfix) with ESMTPSA id 482994E720; Wed, 17 Apr 2024 15:01:19 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\)) Subject: Re: [PHP-DEV] [RFC][Discussion] PDO driver specific parsers In-Reply-To: Date: Wed, 17 Apr 2024 12:01:08 -0300 Cc: "internals@lists.php.net" Content-Transfer-Encoding: quoted-printable Message-ID: <821F0B74-B24B-4309-B2BF-FFC7D5E009CE@cmpct.info> References: To: Matteo Beccati X-Mailer: Apple Mail (2.3774.500.171.1.1) From: calvin@cmpct.info (Calvin Buckley) On Apr 17, 2024, at 9:24=E2=80=AFAM, Matteo Beccati = wrote: >=20 > Hello everybody, >=20 > I'd like to start a discussion on a new RFC about fixing the default = PDO SQL parser and having (optional) driver-specific parsers. >=20 > https://wiki.php.net/rfc/pdo_driver_specific_parsers >=20 > Thanks GPB and Tom de Wit for their help with initial proof-reading. >=20 >=20 > Cheers > --=20 > Matteo Beccati >=20 > Development & Consulting - http://www.beccati.com/ FWIW, ODBC would annoyingly complicate things by not exposing a single dialect, but it handles placeholders directly, so it hasn't needed to parse queries. Using standard SQL quoting would probably work for most drivers though if it comes to it.=