Re: Trailing comma support in SELECT statements

Поиск
Список
Период
Сортировка
От David E. Wheeler
Тема Re: Trailing comma support in SELECT statements
Дата
Msg-id AFD796C4-8C81-40D0-BCA8-6D509EBC17FD@justatheory.com
обсуждение исходный текст
Ответ на Re: Trailing comma support in SELECT statements  (Jim Nasby <Jim.Nasby@BlueTreble.com>)
Ответы Re: Trailing comma support in SELECT statements
Список pgsql-hackers
On Oct 18, 2014, at 7:06 PM, Jim Nasby <Jim.Nasby@BlueTreble.com> wrote:

> Yes.
>
> The only case I can think of where we wouldn't want this is COPY.
>
> BTW, this should also apply to delimiters other than commas; for example, some geometry types use ; as a delimiter
betweenpoints. 

I don’t think it should apply to the internals of types, necessarily. JSON, for example, always dies on an trailing
comma,so should probably stay that way. Well, maybe allow it on JSONB input, but not JSON. Though we perhaps don’t want
theirbehaviors to diverge. 

D


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

Предыдущее
От: "Brightwell, Adam"
Дата:
Сообщение: Re: alter user/role CURRENT_USER
Следующее
От: David G Johnston
Дата:
Сообщение: Re: Would you help to review our modifications