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 1sKJDK-009QWg-C4 for pgsql-general@arkaria.postgresql.org; Thu, 20 Jun 2024 14:56:38 +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 1sKJDG-0099U2-TW for pgsql-general@arkaria.postgresql.org; Thu, 20 Jun 2024 14:56:35 +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 1sKJDF-0099Tp-Ht for pgsql-general@lists.postgresql.org; Thu, 20 Jun 2024 14:56:35 +0000 Received: from fout8-smtp.messagingengine.com ([103.168.172.151]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sKJDD-002Gfy-88 for pgsql-general@postgresql.org; Thu, 20 Jun 2024 14:56:33 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailfout.nyi.internal (Postfix) with ESMTP id E786E138012B; Thu, 20 Jun 2024 10:56:29 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 20 Jun 2024 10:56:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= 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=fm1; t=1718895389; x=1718981789; bh=SRfyoxV+hBU+0k0OnA2Tjv8yvZybkkp2uO+rtvf5OZI=; b= ugcIhWkcMiwWflJaLDUxBMX/DuPx/SsepUguY26JeuQZ4GQVJMHQArvcN11LpyY4 37Y2hvEVQi7DQecGHeQhNItRnxMY+Z8AMOdrGsMXh8qzif0+J7ym2aiYReJikLpS Eqf7L4NYX+LQDZktvGQ8oyTLX7csPMjyw5eIipU83FDavW6Pqly8BZRvmIqkpRLO 3z1MaBzKNIHhEs09m52b8+9OLqMmL9aqUXKlF4mAc4Ma5aLBoZp9AgPWM7oCa7bb NnGwwdPxq3OdwjprUnwja3+JDUGTjTKbbIbazd/6ifrKLy/4741eAj04WYG9ABnQ ztZYrIrkFJRlQF7Aelc1iw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=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=fm2; t=1718895389; x= 1718981789; bh=SRfyoxV+hBU+0k0OnA2Tjv8yvZybkkp2uO+rtvf5OZI=; b=M nzCjjgqldIYoy4FXcSYmhjDIEY6RfLKsPkbiloyx4VsT7/6njDRbTAqUnp6hdFCH uBdMwITj2JZk6QTi/J/DVxCEUlzvRlzlduBFCPtoc8gQaUGL+8hrfUTnvFUMNwq2 Z5at4xVh3dtP/C638Rq8q8z7jmWkamwQ0dKY0IRzwYWs6KHDT45q69haZDRXcvOb KnGh6SxeA3/hVeGL7a25HrD6RvicGMKM0lfuKj5eJ+rSY414EArcMLDfaZcG3C+A sOSuqS5z8/7B8AK6oO3HMLM1hLmsknpyNwKtO9IS392HuUV1gLR83P4cacZ2DQ61 m8523ffzn+wF8NxGHKHAw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeefvddgkeefucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvfhfhjggtgfesthejredttddvjeenucfhrhhomheptegurhhi rghnucfmlhgrvhgvrhcuoegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtoh hmqeenucggtffrrghtthgvrhhnpeeivdfhieehheegueeileejieettdejhedugeefleek vdelkeehtdfgiefffeekudenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegrughrihgrnhdrkhhlrghvvghrsegrkhhlrghvvghrrdgtohhm X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 20 Jun 2024 10:56:29 -0400 (EDT) Message-ID: <3fe68b62-39bd-407b-978c-10978c912248@aklaver.com> Date: Thu, 20 Jun 2024 07:56:28 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Transaction issue To: Rich Shepard , pgsql-general@postgresql.org References: <55a3c9-5baa-ba24-c3fb-c9a777b7917e@appl-ecosys.com> <393A432B-E08C-46C6-B8FE-BE20BEE4E122@gmail.com> Content-Language: en-US From: Adrian Klaver In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 6/20/24 07:47, Rich Shepard wrote: > On Thu, 20 Jun 2024, Rob Sargent wrote: > >> Is psql running in emacs (which is my preferred sql shell. M-x >> sql-postgres)? > > Rob, > > Not when I'm entering new data or updating existing tables. Otherwise, yes. From one of my previous posts(modified): At this point I think you need to create a simple test case where: 1) You have script with BEGIN; COMMIT; --optional 2) In psql do \i 3) Do what you did before to 'recover' from the error. Shows us the content of the steps in your reply. > > Regards, > > Rich > > -- Adrian Klaver adrian.klaver@aklaver.com