Re: Proposal: plpgsql - "for in array" statement

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Proposal: plpgsql - "for in array" statement
Дата
Msg-id 28182.1285705172@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Proposal: plpgsql - "for in array" statement  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: Proposal: plpgsql - "for in array" statement  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
Pavel Stehule <pavel.stehule@gmail.com> writes:
> 2010/9/28 Tom Lane <tgl@sss.pgh.pa.us>:
>> But I guess you could get around that if you had to by putting the ARRAY
>> expression inside parens, and it would be a pretty darn unusual case
>> anyway.  So this is probably the best choice.

> I don't agree - There isn't reason for complicating proposed syntax.

Yes, there is.  The syntax you propose is flat out ambiguous: there are
two possible legal interpretations of some commands.  That's not
acceptable, especially not when it's so easily fixed.
        regards, tom lane


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

Предыдущее
От: "Massa, Harald Armin"
Дата:
Сообщение: Re: documentation udpates to pgupgrade.html
Следующее
От: Pavel Stehule
Дата:
Сообщение: Re: Proposal: plpgsql - "for in array" statement