Re: Allow COPY from STDIN to absorb all input before throwing an error - Mailing list pgsql-hackers

From Neil Conway
Subject Re: Allow COPY from STDIN to absorb all input before throwing an error
Date
Msg-id 1207687820.6942.13.camel@goldbach
Whole thread Raw
In response to Allow COPY from STDIN to absorb all input before throwing an error  (Decibel! <decibel@decibel.org>)
List pgsql-hackers
On Tue, 2008-04-08 at 15:26 -0500, Decibel! wrote:
> My idea to avoid this situation is to add an option to COPY that  
> tells it not to throw an error until it runs out of input data.

An alternative would be to have the client continue reading (and
discarding) COPY input until the end-of-COPY-input sequence is reached,
and then switch back into normal input processing mode.

-Neil




pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Concurrent psql API
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] libpq type system 0.9a