Re: ERROR : invalid transaction termination : PostgreSQL v12 - Mailing list pgsql-admin

From Tom Lane
Subject Re: ERROR : invalid transaction termination : PostgreSQL v12
Date
Msg-id 310681.1606252894@sss.pgh.pa.us
Whole thread Raw
In response to Re: ERROR : invalid transaction termination : PostgreSQL v12  (Holger Jakobs <holger@jakobs.com>)
List pgsql-admin
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



pgsql-admin by date:

Previous
From: Holger Jakobs
Date:
Subject: Re: ERROR : invalid transaction termination : PostgreSQL v12
Next
From: dbatoCloud Solution
Date:
Subject: Re: PG Admin 4.28 is crashing while viewing 10M row data