Re: Does COPY need a manual Commit?

From: Robert Treat <xzilla(at)users(dot)sourceforge(dot)net>
To: Axier <jfo123(at)hotmail(dot)com>
Cc: "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org>
Subject: Re: Does COPY need a manual Commit?
Date: 2002-08-08 14:31:38
Message-ID: 1028817099.21053.2.camel@camel
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Shouldn't be necessary, though not a bad idea if you make the output
visible so you can tell exactly where you crashed.

Robert Treat

On Wed, 2002-08-07 at 02:40, Axier wrote:
> Hi,
>
> I am using COPY FROM for volume inserts and every $commitafter I make
> a end_copy and restarts the process. Is this necessary for not losing
> data
> in case of a crasch or is it a good way to use more code and CPU than
> actually needed?
>
>
> regards, Axier
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-08-08 14:37:32 Re: SQL Comments
Previous Message Peter Novodvorsky 2002-08-08 14:28:01 Re: double quotes in unicode dbs