Re: COPY with column headings
От | Tom Lane |
---|---|
Тема | Re: COPY with column headings |
Дата | |
Msg-id | 13920.1092670249@sss.pgh.pa.us обсуждение исходный текст |
Ответ на | Re: COPY with column headings ("Jeroen T. Vermeulen" <jtv@xs4all.nl>) |
Ответы |
Re: COPY with column headings
|
Список | pgsql-hackers |
"Jeroen T. Vermeulen" <jtv@xs4all.nl> writes: > Wouldn't it be more logical, and more compatible, to keep this information > as regular column information in the PGresult returned by the COPY? That would work but would require a protocol change, which this is surely not worth by itself. (We could put it on the to-do list for the next protocol rev though.) The bigger question is whether this would do anything to satisfy the requestor. He probably wants the headings to appear in the file resulting from COPY TO file (or the psql equivalent), which this would not do. Providing the info in the COPY PGresult would change nothing except the behavior of client applications specially rewritten to use it. regards, tom lane
В списке pgsql-hackers по дате отправления: