Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122313 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 9516 invoked from network); 6 Feb 2024 20:03:50 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 6 Feb 2024 20:03:50 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1707249881; bh=1ZEYhYsuhnOQXbe+p1+Y641yIOOv1WAXFU9NZ1hp06g=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=HoNMRygiHU5GbBAtRl3BV7+r8Qq2sb7TFI8UZmRllR6+Z20mfAYXMkmwIN79bM629 kq1Nesz101AlHdyUu0+gfmjaM5XPqw8bYmP2SHJ0SL9JUZPzNdd6z7eVRNN1X4sOjT 6ztUmyIdUf/mRmotZBY/QImNlhTmikxeNH1IUS8cmNbRqt20ZeKx+z4sS6jmySphqd poAWsdecHtQvp+vrGbVUS24TPyYyxT3ZZQAabdafoaseddEmUqorRdgmvAUjRp36hK jhs9RBkmdBXHKmlHsUaT+/dmQd2rUAWNlFYd4IQvRJddA9DK4ukwBNpgtj0TsreMDD LhMTNIc1wR7mQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B60F618005F for ; Tue, 6 Feb 2024 12:04:39 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-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,DMARC_PASS,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from mail.sakiot.com (mail.sakiot.com [160.16.227.216]) (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 ; Tue, 6 Feb 2024 12:04:38 -0800 (PST) Received: from smtpclient.apple (softbank060067217005.bbtec.net [60.67.217.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.sakiot.com (Postfix) with ESMTPSA id 8B96740004; Wed, 7 Feb 2024 05:03:43 +0900 (JST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=sakiot.com; s=default; t=1707249823; bh=1ZEYhYsuhnOQXbe+p1+Y641yIOOv1WAXFU9NZ1hp06g=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=plX8mi/pB7MTuz38GdXeTVSpD9Bu+xSSNzCSN9gqVdTaptfOlZz1RUWlInU7Crsxe 3bk0a7WreJh7NbL0gLy7VVvuuIeTKPss7AayaDK2E+b+rOKwMgQqYWiPhnJLbcvn20 S4epEAllwjxhOGA/SDU15W8Nk7kxHKEQaO6cLpCA= Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6\)) In-Reply-To: <33dda53d-e4f8-42f0-a4ca-08271aba045c@app.fastmail.com> Date: Wed, 7 Feb 2024 05:03:30 +0900 Cc: php internals Content-Transfer-Encoding: quoted-printable Message-ID: <03CD1CB0-1D3D-405E-A812-5F47AED38F60@sakiot.com> References: <1d6e1a6a-7508-40d1-a146-a7b9f67327b4@app.fastmail.com> <33dda53d-e4f8-42f0-a4ca-08271aba045c@app.fastmail.com> To: Larry Garfield X-Mailer: Apple Mail (2.3731.700.6) Subject: Re: [PHP-DEV] [Proposal] Add `savepoint()` method to PDO From: saki@sakiot.com (Saki Takamachi) > There's been discussion recently about how to deal with = incompatibilities between different PDO drivers, especially now that we = can have subclasses per driver. That may be the way to deal with it. I = don't have a major opinion on the approach, other than all = incompatibilities should be handled in a consistent way. I was thinking of an implementation method like `lastInsertId()`, but = there is certainly another way to use a subclass. Personally, I was thinking of implementing, for example, SQL99-compliant = (included) functions in PDO Core Class, and vendor-specific original = functions in subclasses. However, I don't have a strong opinion on how = they should be used, as there is still not much precedent for = subclasses. I agree with you that it should be a consistent implementation. I'm not = sure if all incompatible features should be implemented in subclasses, = or just vendor-specific features, but at least yes. There should be = consistency. Regards. Saki=