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

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: Proposal: plpgsql - "for in array" statement
Дата
Msg-id AANLkTi=FqC_YkJny1e2=Mxm9PZjDGjC_U3T6VjQeb0Jo@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Proposal: plpgsql - "for in array" statement  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Proposal: plpgsql - "for in array" statement  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
2010/9/28 Tom Lane <tgl@sss.pgh.pa.us>:
> Pavel Stehule <pavel.stehule@gmail.com> writes:
>> 2010/9/28 Tom Lane <tgl@sss.pgh.pa.us>:
>>> Yes, there is.  The syntax you propose is flat out ambiguous: there are
>>> two possible legal interpretations of some commands.
>
>> what are you thinking? The subquery cannot be interpreted different.
>
> Sure it can: it could be a parenthesized top-level query.  In fact,
> that's what plpgsql will assume if you feed it that syntax today.

no - there are not any legal construct FOR r IN (..)

I believe so we can find more than one similar undocumented features,
like this - so it means so plpgsql will be a buggy?

>
>                        regards, tom lane
>


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

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: Proposal: plpgsql - "for in array" statement
Следующее
От: Robert Haas
Дата:
Сообщение: Re: Proposal: plpgsql - "for in array" statement