pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Holger Jakobs <holger@jakobs.com>
Cc: pgsql-admin@lists.postgresql.org
Subject: Re: ERROR : invalid transaction termination : PostgreSQL v12
Date: Tue, 24 Nov 2020 16:21:34 -0500
Message-ID: <310681.1606252894@sss.pgh.pa.us> (raw)
In-Reply-To: <783165ad-62f6-dad9-6aa9-814428e49743@jakobs.com>
References: <CA+cYFttwzFJJyVYkW3Ld9r=SUTgViwMwCFtV+SQJamzghXkTcA@mail.gmail.com>
	<7685663c-4fb4-2875-9164-a44007ca9568@jakobs.com>
	<CAKFQuwZDfW2THiNe0Y95YLKGugH8h_7T1KOfCr7E7w3B1BPJZA@mail.gmail.com>
	<783165ad-62f6-dad9-6aa9-814428e49743@jakobs.com>

Holger Jakobs <holger@jakobs.com> writes:
> Oracle's behaviour of saving all non-failing records while discarding 
> all failing records is not directly possible with PostgreSQL, because 
> the sense of a transaction is all-or-nothing.

There are external tools that can emulate row-at-a-time loading,
such as pgloader [1].  I'm not sure what sort of speed penalty
you pay for that, but I imagine it's not trivial.

			regards, tom lane

[1] https://pgloader.io





view thread (5+ messages)

Message-ID: <310681.1606252894@sss.pgh.pa.us>
Permalink:  ../310681.1606252894@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/310681.1606252894@sss.pgh.pa.us

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, holger@jakobs.com, pgsql-admin@lists.postgresql.org
  Subject: Re: ERROR : invalid transaction termination : PostgreSQL v12
  In-Reply-To: <310681.1606252894@sss.pgh.pa.us>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox