Re: Error working with Temporary Sequences in plpgsql in 8.1 (8.0 works fine)

Поиск
Список
Период
Сортировка
От Michael Fuhr
Тема Re: Error working with Temporary Sequences in plpgsql in 8.1 (8.0 works fine)
Дата
Msg-id 20060118042758.GA58631@winnie.fuhr.org
обсуждение исходный текст
Ответ на Re: Error working with Temporary Sequences in plpgsql in 8.1 (8.0 works fine)  (Jaime Casanova <systemguards@gmail.com>)
Список pgsql-hackers
On Tue, Jan 17, 2006 at 01:28:03PM -0500, Jaime Casanova wrote:
> is the same problem as with temp tables, you must put their creation,
> and in this case even the nextval in an execute...

Curious that it works in 8.0, though.  I wonder if the failure in
8.1 is an artifact of changing sequence functions like nextval()
to take a regclass argument (the sequence OID) instead of a text
argument (the sequence name); that would affect what gets put in
the function's cached plan.

-- 
Michael Fuhr


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: debug_query_string and multiple statements
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: Bad estimate on LIKE matching