Re: pesky plpgsql

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pesky plpgsql
Дата
Msg-id 19016.1049263383@sss.pgh.pa.us
обсуждение исходный текст
Ответ на pesky plpgsql  (Walter McGinnis <pg@mars-hq.com>)
Ответы Re: pesky plpgsql  (Walter McGinnis <pg@mars-hq.com>)
Список pgsql-sql
Walter McGinnis <pg@mars-hq.com> writes:
> When I call the function I get the following error:
> devpps=# select update_cat_keys();
> NOTICE:  plpgsql: ERROR during compile of update_cat_keys near line 2
> ERROR:  parse error at or near ";"
> The select in the loop runs fine in psql.  So I'm stumped...

Hmm, it looks fine to me too.  What PG version is this?  Could you
provide the context (table creation commands, etc) so someone else
could try to run the function?
        regards, tom lane



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

Предыдущее
От: Walter McGinnis
Дата:
Сообщение: pesky plpgsql
Следующее
От: Joe Conway
Дата:
Сообщение: Re: Rows as Columns