Re: temporary tables - Mailing list pgsql-novice

From Tom Lane
Subject Re: temporary tables
Date
Msg-id 6140.1050004561@sss.pgh.pa.us
Whole thread Raw
In response to temporary tables  ("Sugrue, Sean" <Sean.Sugrue@analog.com>)
List pgsql-novice
"Sugrue, Sean" <Sean.Sugrue@analog.com> writes:
> Is there anyway that postgresql will tell you if there is a temporary table without
> knowing the table name?

Please define what you are trying to do more exactly.  Do you want to
know if any current session has temporary tables?  If your own session
has at least one temporary table?  If your own session has created a
particular temp table (and if so, what's that about "not knowing the
table name")?

It also matters which PG version you want to do this on -- the catalog
representation of temp tables has changed in 7.3.

            regards, tom lane


pgsql-novice by date:

Previous
From: "Sugrue, Sean"
Date:
Subject: temporary tables
Next
From: Don Patou
Date:
Subject: looking for a script to compare databases