Re: How to get schema name in which TEMPORARY table is created?

From: "Gnanakumar" <gnanam(at)zoniac(dot)com>
To: "'Tom Lane'" <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-admin(at)postgresql(dot)org>
Subject: Re: How to get schema name in which TEMPORARY table is created?
Date: 2011-03-09 04:43:01
Message-ID: 001c01cbde14$7ac51680$704f4380$@com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

>> How do I get the schema name in which TEMPORARY table is created using
>> "CREATE TEMP TABLE mytable ...." syntax?

> Do you need the real schema name, or will the "pg_temp" alias be
> sufficient?

I need the real schema name (for example, pg_temp_xxx) in which it is
created and not just the alias.

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Christian Ullrich 2011-03-09 09:07:35 Re: How to get schema name in which TEMPORARY table is created?
Previous Message Heikki Linnakangas 2011-03-08 19:00:14 Re: Re: PD_ALL_VISIBLE flag was incorrectly set happend during repeatable vacuum