Re: how do I check if a temporary table exists? - Mailing list pgsql-sql

From darcy@druid.net (D'Arcy J.M. Cain)
Subject Re: how do I check if a temporary table exists?
Date
Msg-id 20010324124215.A94771A61@druid.net
Whole thread Raw
In response to how do I check if a temporary table exists?  ("datactrl" <quals@bigfoot.com>)
Responses Re: how do I check if a temporary table exists?
Re: how do I check if a temporary table exists?
List pgsql-sql
Thus spake datactrl
> How do I check if a temporary table exists? Searching pg_tables with a
> temporary table name we chose always fails.

What do you mean?  You know that it exists because you just created it
and the create succeeded.  Can you describe a situation where you need
to know about a temp table and don't already know?

It can't go into the pg_tables table because then it would be visible
to other processes.  Are you perhaps misunderstanding temp tables?  You
cannot see them except from the process that created them.

-- 
D'Arcy J.M. Cain <darcy@{druid|vex}.net>   |  Democracy is three wolves
http://www.druid.net/darcy/                |  and a sheep voting on
+1 416 425 1212     (DoD#0082)    (eNTP)   |  what's for dinner.


pgsql-sql by date:

Previous
From: Richard Huxton
Date:
Subject: Re: Serials.
Next
From: Mathijs Brands
Date:
Subject: Re: Serials.