Re: ERROR : invalid transaction termination : PostgreSQL v12

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Holger Jakobs <holger(at)jakobs(dot)com>
Cc: pgsql-admin(at)lists(dot)postgresql(dot)org
Subject: Re: ERROR : invalid transaction termination : PostgreSQL v12
Date: 2020-11-24 21:21:34
Message-ID: 310681.1606252894@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Holger Jakobs <holger(at)jakobs(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message dbatoCloud Solution 2020-11-25 01:51:58 Re: PG Admin 4.28 is crashing while viewing 10M row data
Previous Message Holger Jakobs 2020-11-24 21:15:15 Re: ERROR : invalid transaction termination : PostgreSQL v12