Re: duplicate columns with COPY

Поиск
Список
Период
Сортировка
От NikhilS
Тема Re: duplicate columns with COPY
Дата
Msg-id d3c4af540712200608o78b00034oae2d97cd6320748a@mail.gmail.com
обсуждение исходный текст
Ответ на Re: duplicate columns with COPY  (Andrew Dunstan <andrew@dunslane.net>)
Список pgsql-hackers
Hi,
>
> pei=# copy test1 (a, a) to stdout;
> ERROR:  42701: column "a" specified more than once
>
> Or is this just an overly extensive check that is actually intended for COPY
> FROM STDIN?
>
>

This seems to be a common check in both "COPY TO" and "COPY FROM" cases source/destination being STDIN or otherwise. While it definitely makes sense for the FROM case maybe we could relax this for the COPY TO case.

Regards,
Nikhils
--
EnterpriseDB               http://www.enterprisedb.com

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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: duplicate columns with COPY
Следующее
От: Greg Smith
Дата:
Сообщение: Re: Sorting Improvements for 8.4