Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1glh6o-00042c-VG for pgsql-general@arkaria.postgresql.org; Mon, 21 Jan 2019 21:27:55 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1glh6n-0002My-OO for pgsql-general@arkaria.postgresql.org; Mon, 21 Jan 2019 21:27:53 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gldcu-0004Z4-Ox for pgsql-general@lists.postgresql.org; Mon, 21 Jan 2019 17:44:48 +0000 Received: from n3.nabble.com ([162.255.23.22]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gldcr-0004gU-6w for pgsql-general@postgresql.org; Mon, 21 Jan 2019 17:44:47 +0000 Received: from n3.nabble.com (localhost [127.0.0.1]) by n3.nabble.com (Postfix) with ESMTP id 01F65118A15F3 for ; Mon, 21 Jan 2019 10:44:44 -0700 (MST) Date: Mon, 21 Jan 2019 10:44:44 -0700 (MST) From: andyterry To: pgsql-general@postgresql.org Message-ID: <1548092684006-0.post@n3.nabble.com> In-Reply-To: <87bm4a3sqk.fsf@news-spur.riddles.org.uk> References: <1548074591211-0.post@n3.nabble.com> <87bm4a3sqk.fsf@news-spur.riddles.org.uk> Subject: Re: commit within a procedure loop - cannot commite with subtransaction MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Thanks Andrew, The database is currently chewing through the load (without commits) as i'm doing a batch of rows at a time. I'm calling the procedure in pgadmin (4-4.2) as i was testing some bits from there but i'll also try a psql run Appreciate the pointers, Andy -- Sent from: http://www.postgresql-archive.org/PostgreSQL-general-f1843780.html