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 1sJzZm-007j3Z-4r for pgsql-general@arkaria.postgresql.org; Wed, 19 Jun 2024 17:58:30 +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 1sJzZj-003yiu-UI for pgsql-general@arkaria.postgresql.org; Wed, 19 Jun 2024 17:58:28 +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 1sJzZi-003yhf-Nv for pgsql-general@lists.postgresql.org; Wed, 19 Jun 2024 17:58:28 +0000 Received: from wfhigh1-smtp.messagingengine.com ([64.147.123.152]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sJzZg-0027MM-F6 for pgsql-general@postgresql.org; Wed, 19 Jun 2024 17:58:26 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.west.internal (Postfix) with ESMTP id 727AA18000A6; Wed, 19 Jun 2024 13:58:22 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute5.internal (MEProxy); Wed, 19 Jun 2024 13:58:22 -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=1718819902; x=1718906302; bh=Nfjn1u9WA1/IaHPE3Xw8ZRi6KtarDRg3fQ3nPkakh5M=; b= t/fxHAJKS4O6qG1bPjXcpRNdcIMYfvjSWTne1lzuy6Inlmm6w5qKn8V5VM+RsnHD e0hm//V/hEU4XYA6Td6zb3oniM2yb9PBHlFUW199LgJVarw8CvVkGLxB51Tv2vxz b2f88emYwJcSA9zUdAg6sRc3PZQ1nHkbVnbdI9QgtSQMuqTDhSP5lDQzqUhqZnyt 99BlHu6Xv79VDRVoIMUojKe2e2tSJI6MIRWkaKAo3e61ILeJywPfoV+bH7SZVz+3 y4lSJ9F8Xo9P3EJIePcq4XW3FGhuVnJ+kO2d76iB4QBq+VdYffC5UePpKLHaDi3k IDGJQvuydMNVQXucBwwgPQ== 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=1718819902; x= 1718906302; bh=Nfjn1u9WA1/IaHPE3Xw8ZRi6KtarDRg3fQ3nPkakh5M=; b=K rSsGA0aMm6zso4bv1Yl0UOXimMFjYCHWQzMUiJBpAZyaKCrmM2gbRk3tnjnSepUS trg2NMZ4dOrTEHJCDHhY2iWaS0sdPoqDwYSgpIGHX7QWXExKuwYL4qCxcUITFP86 MXYXZBTMBxjrQOJ9CZG7xfz9IuKAS2XFc2FyGv4FsmXPHqLo5ob5pZbHMGtijE1v Gl2Vbxl4kF7JX44l/co01uIRPMjM5RRRD6l8tA2AQuytAOtfenvJBi49lnWoRJ86 mb8+fwocSwXrNvIuTg7dz+KyCFbowa65Y5ULHPwqdARYYHiJ/BtlqzZVWumiZ0ox K6HfGavVVRSAH9RZfODAw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeeftddguddukecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtvdejnecuhfhrohhmpeetughr ihgrnhcumfhlrghvvghruceorggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtg homheqnecuggftrfgrthhtvghrnhepffelgeeifefgveduhedthfekuedtffejveegffeg jeevtdehgfduieetfeehjeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomheprggurhhirghnrdhklhgrvhgvrhesrghklhgrvhgvrhdrtghomh X-ME-Proxy: Feedback-ID: i76984098:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 19 Jun 2024 13:58:20 -0400 (EDT) Message-ID: <4773397e-dec5-4c0a-bbfc-ea5794805c4d@aklaver.com> Date: Wed, 19 Jun 2024 10:58:19 -0700 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: Transaction issue To: Rich Shepard , pgsql-general@postgresql.org References: Content-Language: en-US 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 6/19/24 10:56 AM, Rich Shepard wrote: > I now insert rows using a transaction. Sometimes psql halts with an error: > ERROR:  current transaction is aborted, commands ignored until end of > transaction block Is this being done in a script fed to psql? > > I issue a rollback; command but cannot continue processing. What is the > appropriate way to respond to that error after fixing the syntax error? > > TIA, > > Rich > > -- Adrian Klaver adrian.klaver@aklaver.com