Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rPnpk-00EGUU-CU for pgsql-general@arkaria.postgresql.org; Tue, 16 Jan 2024 18:06:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1rPnpj-0068ix-2t for pgsql-general@arkaria.postgresql.org; Tue, 16 Jan 2024 18:06:43 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rPnpi-0068in-OU for pgsql-general@lists.postgresql.org; Tue, 16 Jan 2024 18:06:42 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1rPnpg-001r1Q-7f for pgsql-general@lists.postgresql.org; Tue, 16 Jan 2024 18:06:41 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id 9FC425C00E1; Tue, 16 Jan 2024 13:06:39 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Tue, 16 Jan 2024 13:06:39 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= cc:cc:content-transfer-encoding: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=fm2; t=1705428399; x=1705514799; bh=CW3O7QDZ3rSulaxeqR/EHrxVaDOU1YVPfMg6koSzFEk=; b= vN/aIQ3hKlqAEgIBa+PMeLRyojguZZmg4GIQghq3XL5V0blMSMsEeFJT5vYB4TG9 cgqNGQOUZk2OAW7VdgFpEW8QNnHrYwIuuoy0wiGBIFefzpH/4Yg2yj8XDhurjsa5 SGQKdVqQlZ34278YpRkDWfVSMVZdG5z4e3t8HPu1UqJxCISwGVXMbKjiiAW49uKY yDekJQ+xz4aA4YVgOE8zEXIvWdNo4e9fsCxygGz/PLr2lmblGw2+NZEV+qmnPs+F LcjgZ92pjxUzsnaPlGbBennn+Ak44dufaDGWZgAhT/6rqxdhE0om2MNQMbsePOHe t06gX/eKFq2jCZrBauX8rQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :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=1705428399; x= 1705514799; bh=CW3O7QDZ3rSulaxeqR/EHrxVaDOU1YVPfMg6koSzFEk=; b=M POkruI+EjlhNSG1/f01qYhRyKGMNEtpcVf8fDk2j8MgVx4CQg4qdYxiMJkBDH861 9d75zDj8jWGey3VKrNWAJy8iixSnaBavMFTAbkiqH6opFdPqsvarpZFQAQWWxOGn hfqMArLKlZNEkoNfGeDp9/t0ozpX78UfRBHSfvGEQO7bAabYmBaPjy+gQLZ3Ltd9 ikzW4jG9sfg7ic1VpVLeRR454q2M0iiH84IEs9kU2hboO2PetwzoqxRIeOj6HLcz NRaehznlDgZnz3+vJYipO3LPa8p58oHca68ZLYF/dOMlYgYXPXDgEzOfzAM/WM5v 5IjYEthGS5495zQLCfdBQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvkedrvdejfedguddtkecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthekredttddvjeenucfhrhhomheptegu rhhirghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrd gtohhmqeenucggtffrrghtthgvrhhnpefgudefkefhveefleevieeuveehvdduudekuddv vdelhfeuueeijedtuedvvedvueenucffohhmrghinhepphhoshhtghhrvghsqhhlrdhorh hgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomheprggu rhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 16 Jan 2024 13:06:38 -0500 (EST) Message-ID: <9513cef5-05e4-4ca1-ae9d-9fbf37c842c1@aklaver.com> Date: Tue, 16 Jan 2024 10:06:38 -0800 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Moving to Postgresql database Content-Language: en-US To: Dominique Devienne Cc: veem v , pgsql-general References: <40a34680-1583-4cff-86cb-2598be16bb80@aklaver.com> <8cbd791a-0688-49fb-a536-3b8c30b5109b@aklaver.com> From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 1/16/24 09:23, Dominique Devienne wrote: > On Tue, Jan 16, 2024 at 6:10 PM Adrian Klaver > wrote: > Technically, it's still a ROLLBACK, so that is indeed the only recourse. Actually ROLLBACK TO: https://www.postgresql.org/docs/current/sql-rollback-to.html You would get a different outcome with just a plain ROLLBACK. > But sure, I take your point, you can emulate statement-level (implicit) > rollback > via an explicit SAVEPOINT, and ROLLBACK to the savepoint instead. > > But my point remains, that something like what that extension does should > be an option of PostgreSQL itself, not an extension. --DD > > PS: I'd also be happy to hear why it's not, or won't be, on technical terms. -- Adrian Klaver adrian.klaver@aklaver.com