Re: PL/pgSQL loops?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: PL/pgSQL loops?
Дата
Msg-id 3774.1007075585@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: PL/pgSQL loops?  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: PL/pgSQL loops?  (Stephan Szabo <sszabo@megazone23.bigpanda.com>)
Список pgsql-sql
I said:
> I would've expected it to count nested parentheses, at least.

Okay, it does that now, and I found that I could tighten the error
checking to give a sooner/more useful error.  Now, if you get caught
by the integer-FOR-vs-FOR-over-rows problem, you'll probably get

ERROR:  missing .. at end of SQL expression

which at least gives you some clue that the problem has something to
do with the "FOR x IN foo .. bar" syntax.
        regards, tom lane


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: CREATE RULE ON UPDATE/DELETE
Следующее
От: "Peter T. Brown"
Дата:
Сообщение: contracting tables