temporary table

From: "jack" <datactrl(at)tpg(dot)com(dot)au>
To: <pgsql-general(at)postgresql(dot)org>
Subject: temporary table
Date: 2001-10-26 05:05:18
Message-ID: 014001c15ddb$cf1586c0$2400a8c0@hnJACK
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Seth Hettich 2001-10-26 05:10:46 initdb segfault - solaris 8
Previous Message Flancer 2001-10-26 03:12:46 Select limit... erm so..