Re: Bulkloading using COPY - ignore duplicates? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Bulkloading using COPY - ignore duplicates?
Date
Msg-id 200201032115.g03LF4j22668@candle.pha.pa.us
Whole thread Raw
In response to Re: Bulkloading using COPY - ignore duplicates?  ("Mikheev, Vadim" <vmikheev@SECTORBASE.COM>)
Responses Re: Bulkloading using COPY - ignore duplicates?  (Daniel Kalchev <daniel@digsys.bg>)
List pgsql-hackers
Mikheev, Vadim wrote:
> > > Bruce Momjian <pgman@candle.pha.pa.us> writes:
> > > > Seems nested transactions are not required if we load
> > > > each COPY line in its own transaction, like we do with
> > > > INSERT from pg_dump.
> > > 
> > > I don't think that's an acceptable answer.  Consider
> > 
> > Oh, very good point.  "Requires nested transactions" added to TODO.
> 
> Also add performance issue with per-line-commit...
> 
> Also-II - there is more common name for required feature - savepoints.

OK, updated TODO to prefer savepoints term.

--  Bruce Momjian                        |  http://candle.pha.pa.us pgman@candle.pha.pa.us               |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: "Mikheev, Vadim"
Date:
Subject: Re: Bulkloading using COPY - ignore duplicates?
Next
From: Fredrik Estreen
Date:
Subject: Re: LWLock contention: I think I understand the problem