Received: from sfinx.lasting.ro (sfinx.lasting.ro [193.230.239.254]) by mail.postgresql.org (8.11.1/8.11.1) with ESMTP id eADJhJs90175 for ; Mon, 13 Nov 2000 14:43:20 -0500 (EST) (envelope-from cristipp@lasting.ro) Received: from cristipp (cristipp.lasting.ro [193.230.239.37]) by sfinx.lasting.ro (8.11.0/bofh+AntiVir) with SMTP id eADJg9P16426 for ; Mon, 13 Nov 2000 21:42:09 +0200 Message-ID: <002e01c04da9$a8f95c20$25efe6c1@lasting.ro> From: "Cristi Petrescu-Prahova" To: Subject: how to continue a transaction after an error? Date: Mon, 13 Nov 2000 21:41:04 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Archive-Number: 200011/98 X-Sequence-Number: 129 Hello, I would like to insert a bunch of rows in a table in a transaction. Some of the insertions will fail due to constraints violation. When this happens, Postgres automatically ends the transaction and rolls back all the previous inserts. I would like to continue the transaction and issue the commit/rollback command myself. How to do it? Is there any setting I am missing? Is it possible at all? Thanks, Cristi