Re: Allow COPY from STDIN to absorb all input before throwing an error

Поиск
Список
Период
Сортировка
От Neil Conway
Тема Re: Allow COPY from STDIN to absorb all input before throwing an error
Дата
Msg-id 1207687820.6942.13.camel@goldbach
обсуждение исходный текст
Ответ на Allow COPY from STDIN to absorb all input before throwing an error  (Decibel! <decibel@decibel.org>)
Список 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 по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Concurrent psql API
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [PATCHES] libpq type system 0.9a