Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122306 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 93928 invoked from network); 6 Feb 2024 17:16:20 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 6 Feb 2024 17:16:20 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1707239832; bh=5+22fenir9QO2P1mGK0u/x06m5t5ETyf11u+Sew+kdI=; h=In-Reply-To:References:Date:From:To:Cc:Subject:From; b=Nr5Zz/gd7YXeh8RI7RXos2f24m3fdjhun32Y9mLRKSLi23MfPVqlRQSVfupkKg9ye Ec6EKHbQR4ZNkCKiBQh5ZoF2H3osokYZGlL49uG7NDBTMVXwZb7LLCEl6Yz5RW0wVj ojPDcD3rd3wkzjyGdjpk9MqJxtWqWbUs9sAQdu4FM/UFU2HZpINAtOU8zdl4w0r0mX UAmahC6C4a4SQJy+541LaYpqjz4SQolcyshcaqAtFF+nUZ+w6X8Bi2CNmdmtw8cloc Xp8Ww/4Em6wQNYOkjPCuo11RlMWIKQB5nUdydfugndEgUKiZnitVe6e6yg+MpcbBnU FaWbxR/yh4gKQ== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id B511418006B for ; Tue, 6 Feb 2024 09:17:11 -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=-3.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_NONE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Tue, 6 Feb 2024 09:17:10 -0800 (PST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 74BED5C00D8; Tue, 6 Feb 2024 12:16:18 -0500 (EST) Received: from imap50 ([10.202.2.100]) by compute1.internal (MEProxy); Tue, 06 Feb 2024 12:16:18 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= garfieldtech.com; h=cc:cc:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1707239778; x=1707326178; bh=a7u218jfWSp6MEztZo3HcgLC/oIlJbLLUBniRB9/cl4=; b= pCLMxXos2hWXdLjy2HoPURUssIYF3Sbjm4C7MYZSc8vWqmDkICoXsp1Y1PNUizJc 4jPmhty+bdf3IUOxakaxg56SAGN04sS50044roWiYjZYzl0NzFdTIlsFP8zeUzN3 tTQzt/XR0Lsi4sfOFqpsz+hp2o0TmCafifcx3w8xKX2tDkUUkBqRTFP8oK7vsIkf EvAoXIZ5IOoyTJKm/HtnKFiSOjdrqWX0wnYgArxO6OJmqYaoxn+2xoMEj5TO3zaT GRKkuvS3AOJi00kN/MEf7xzRGkNzwH+pchfc7C2eFrrvP6cqVpx+IYJygnzfAAWa hzWzBHUhc0clUQ5fbSphog== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm3; t=1707239778; x=1707326178; bh=a7u218jfWSp6MEztZo3HcgLC/oIl JbLLUBniRB9/cl4=; b=tnb91LzieAa+pTwLqEhLsEgXYVEy0AUqVnD8gFIcOZFZ SqhiVN20m+0RYRzH0oePUcNabioeWe9hnM5BteI3YM84ICgw5bGOeTnAVN3TLnA1 0cS/wEoLeMjmdGgrYgXLUSxgYRLZaaJBuwAn8A442MdyzFSCIHo2hQzULHbLepE8 jnoSd7T8MUmgoiXSbmCHpArdkdAbmLk2CzeYzS1VMrGm1DjnKR0CuZJXUasFs8j/ /mU+C5gHmUlkoLnaHConuI/xCNg6bzB2d5tqIRDW2d6K7RuXL8CJo9KK/qWW0WNF Ixshn2xfX/dO0t2w53NEhZ+btB9pW94NDB4WZCr9Rw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrtddtgdeikecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgesthdtredtreertdenucfhrhhomhepfdfnrghr rhihucfirghrfhhivghlugdfuceolhgrrhhrhiesghgrrhhfihgvlhguthgvtghhrdgtoh hmqeenucggtffrrghtthgvrhhnpeeuleduleeikefhkeekgfeiudffjeffffehveekudeu geettdefteehkeeguedtgfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpehlrghrrhihsehgrghrfhhivghlughtvggthhdrtghomh X-ME-Proxy: Feedback-ID: i8414410d:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id 0084F1700093; Tue, 6 Feb 2024 12:16:17 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.11.0-alpha0-144-ge5821d614e-fm-20240125.002-ge5821d61 MIME-Version: 1.0 Message-ID: <33dda53d-e4f8-42f0-a4ca-08271aba045c@app.fastmail.com> In-Reply-To: References: <1d6e1a6a-7508-40d1-a146-a7b9f67327b4@app.fastmail.com> Date: Tue, 06 Feb 2024 17:15:57 +0000 To: "Saki Takamachi" Cc: "php internals" Content-Type: text/plain Subject: Re: [PHP-DEV] [Proposal] Add `savepoint()` method to PDO From: larry@garfieldtech.com ("Larry Garfield") On Tue, Feb 6, 2024, at 2:28 PM, Saki Takamachi wrote: > Hi Larry, > >> I like this proposal. It's a good incremental improvement to PDO. I also agree with rollbackTo(), to avoid confusion. > > Thank you, I'm glad to receive your positive feedback. > > It is very difficult to implement these in pdo_odbc because the odbc > API does not support savepoint. > > However, since odbc itself is quite old, it may be a good idea to make > only pdo_odbc incompatible with the savepoint method. 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. --Larry Garfield