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 1sKHVL-009GOg-1u for pgsql-general@arkaria.postgresql.org; Thu, 20 Jun 2024 13:07:07 +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 1sKHVI-007HnQ-Jv for pgsql-general@arkaria.postgresql.org; Thu, 20 Jun 2024 13:07:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sKHVI-007HnI-9W for pgsql-general@lists.postgresql.org; Thu, 20 Jun 2024 13:07:05 +0000 Received: from mail.appl-ecosys.com ([50.126.108.78]) by magus.postgresql.org with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sKHVC-002eQe-VV for pgsql-general@postgresql.org; Thu, 20 Jun 2024 13:07:04 +0000 Received: from salmo.appl-ecosys.com (salmo.appl-ecosys.com [192.168.55.1]) by mail.appl-ecosys.com (Postfix) with ESMTP id A2E6B2A2B7C for ; Thu, 20 Jun 2024 06:06:56 -0700 (PDT) Date: Thu, 20 Jun 2024 06:06:56 -0700 (PDT) From: Rich Shepard To: pgsql-general Subject: Re: Transaction issue In-Reply-To: Message-ID: References: <65F95FD4-CBEA-4E66-AE63-EBC9F617C988@gmail.com> <7678da90-521-3b52-4bb5-11bc9bdf6d1@appl-ecosys.com> <65e3d37-1674-97c9-9010-2196384b851@appl-ecosys.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Wed, 19 Jun 2024, Ron Johnson wrote: > In addition, manually run the "BEGIN;" before the "\i insert-blarge.sql" > command. > > That way, insert-blarge.sql just inserts. My reasoning: since you control > the ROLLBACK, you should also control the BEGIN. Ron, Hadn't thought of doing that, but now will. Thanks for the excellent recomendation. Regards, Rich