Re: plpgsql For SQLQuery Loop Flags Error

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: plpgsql For SQLQuery Loop Flags Error
Дата
Msg-id 19964.1071762895@sss.pgh.pa.us
обсуждение исходный текст
Ответ на plpgsql For SQLQuery Loop Flags Error  (Puneet Paul <paulptech@yahoo.com>)
Список pgsql-bugs
Puneet Paul <paulptech@yahoo.com> writes:
>  DECLARE
>      curTrackList char(15) ALIAS for $1;
>     sliceFile varchar ALIAS for $2;
>     lmfpLimit integer ALIAS for $3
>     mTrackDet RECORD;

If that's an accurate copy of your function, then the problem is likely
the lack of a semicolon on the lmfpLimit line.  I'm not sure why you
don't get a syntax error, but evidently the "mTrackDet RECORD" is
getting treated as a noise phrase in the lmfpLimit declaration.

What Postgres version is this, anyway?  The current sources do not look
like they'd accept such a thing without raising an error, but possibly
older releases would.

            regards, tom lane

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Urgent: Key constraints behaving weirdly
Следующее
От: Tom Lane
Дата:
Сообщение: Re: libpq3 + ssl memory leak