Re: [PATCHES] Current-stream read for psql's \copy

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: [PATCHES] Current-stream read for psql's \copy
Дата
Msg-id 15317.1076428541@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: [PATCHES] Current-stream read for psql's \copy  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: [PATCHES] Current-stream read for psql's \copy  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.us> writes:
> Tom Lane wrote:
>> I propose we not break existing applications.  If we change it the way
>> you suggest, there'll be no way to do the above.

> But does anyone use such a capability?

What, you're going to remove a feature because you don't think it's
used?  We've been burnt by that approach before.

> The program has to generate \. to terminate the input

No it doesn't.  EOF will do fine.  The source program doesn't
necessarily have to know anything about COPY, as long as its output is
in a format COPY can cope with (eg, tab-delimited).
        regards, tom lane


В списке pgsql-hackers по дате отправления:

Предыдущее
От: "Keith Bottner"
Дата:
Сообщение: Re: MS SQL features for new version
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: PQinSend question