Re: COPY with column headings

Поиск
Список
Период
Сортировка
От Jeroen T. Vermeulen
Тема Re: COPY with column headings
Дата
Msg-id 20040816151609.GA5823@xs4all.nl
обсуждение исходный текст
Ответ на COPY with column headings  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: COPY with column headings  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Aug 16, 2004 at 10:53:36AM -0400, Bruce Momjian wrote:
> Someone just asked about a COPY capability to supply the column headings
> as the first line of the copy statement.  Do we want to support
> something like that?  Does anyone else want such functionality?

Wouldn't it be more logical, and more compatible, to keep this information
as regular column information in the PGresult returned by the COPY?  Or
would that clash with the difference between "command" and "query" result
handling?


Jeroen



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: COPY with column headings
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: COPY with column headings