From: Jens Wilke <jens.wilke@affinitas.de>
To: pgsql-admin@postgresql.org
Subject: Re: How to get schema name in which TEMPORARY table is created?
Date: Tue, 8 Mar 2011 15:18:34 +0100
Message-ID: <201103081518.34461.jens.wilke@affinitas.de> (raw)
In-Reply-To: <005201cbdd99$8930e990$9b92bcb0$@com>
References: <005201cbdd99$8930e990$9b92bcb0$@com>
On Tuesday 08 March 2011 15:02:57 Gnanakumar wrote:
Hi,
> How do I get the schema name in which TEMPORARY table is created using
> "CREATE TEMP TABLE mytable ...." syntax?
select n.nspname from pg_class c join pg_namespace n on n.oid=c.relnamespace
where c.relname ='foo' and n.nspname like 'pg_temp%';
Regards Jens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: jens.wilke@affinitas.de
Subject: Re: How to get schema name in which TEMPORARY table is created?
In-Reply-To: <201103081518.34461.jens.wilke@affinitas.de>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox