Problems of Temporary table - Mailing list pgsql-sql

From Jack
Subject Problems of Temporary table
Date
Msg-id 9rcuri$1fts$1@news.tht.net
Whole thread Raw
List pgsql-sql
HI, all

Temporary tables created by "CREATE TABLE" or by "SELECT ..INTO" are so hard
to handle. If it doesn't exist, then "drop" cuases an error. If the same
procedure runs second time without dropping all temporary tables, providing
still in the same connection session, then procedure causes "table exists"
error. And it's unable to search system table to find whether it exists or
not. Is that possible to have a command like "drop table if exist"? Please
provide advices, thank you!


JACK





pgsql-sql by date:

Previous
From: "Josh Berkus"
Date:
Subject: Re: oid's in views.
Next
From: "Johnny Predicto"
Date:
Subject: PostgreSQL, Java & JDBC