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

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: Jaime Casanova <systemguards(at)gmail(dot)com>
Cc: Daniel Schuchardt <daniel_schuchardt(at)web(dot)de>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Error working with Temporary Sequences in plpgsql in 8.1 (8.0 works fine)
Date: 2006-01-18 04:27:58
Message-ID: 20060118042758.GA58631@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Sarvjot Kaur 2006-01-18 05:34:16 Need help in installing postgresql 8.1.2 on Windows
Previous Message Tom Lane 2006-01-18 04:17:59 Re: debug_query_string and multiple statements