Re: creating a temp table in a function - Mailing list pgsql-general

From Ivan Sergio Borgonovo
Subject Re: creating a temp table in a function
Date
Msg-id 20080404215357.0e73499a@webthatworks.it
Whole thread Raw
In response to creating a temp table in a function  ("Shahaf Abileah" <shahaf@redfin.com>)
List pgsql-general
On Fri, 4 Apr 2008 09:13:18 -0700
"Shahaf Abileah" <shahaf@redfin.com> wrote:

> I have a function that creates a temp table and drops it on
> commit.  If I run the function twice in the same psql interactive
> session, I get an error.  If I run it twice in two different psql
> sessions (using the -c flag), I get no error.  Is this expected
> behavior?  If so, why?

http://www.postgresql.org/docs/faqs.FAQ.html#item4.19

?


--
Ivan Sergio Borgonovo
http://www.webthatworks.it


pgsql-general by date:

Previous
From: Andreas 'ads' Scherbaum
Date:
Subject: Re: creating a temp table in a function
Next
From: Rusty Conover
Date:
Subject: pg_dump and schemas