Temporary schemas

From: Thomas Kellerer <spam_eater(at)gmx(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Temporary schemas
Date: 2010-11-01 10:46:59
Message-ID: iam5r0$2ko$1@dough.gmane.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hello,

I have created a temporary table using

create temporary table foo
(
id integer
);

and noticed this was created in a schema called "pg_temp_2"

My question is:

is this always "pg_temp_2"?
Or will the name of the "temp schema" change?

If it isn't always the same, is there a way I can retrieve the schema name for temporary tables?

Regards
Thomas

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Fujii Masao 2010-11-01 11:00:22 Re: Failover on Windows
Previous Message Alexander Farber 2010-11-01 09:29:34 async queries in Perl and poll()/select() loop - how to make them work together?