pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jack <ycc@bigfoot.com>
To: pgsql-sql@postgresql.org
Subject: Problems of Temporary table
Date: Sat, 27 Oct 2001 10:18:12 +1000
Message-ID: <9rcuri$1fts$1@news.tht.net> (raw)

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






Message-ID: <9rcuri$1fts$1@news.tht.net>
Permalink:  ../9rcuri$1fts$1@news.tht.net/
Also on:    postgresql.org/message-id/9rcuri$1fts$1@news.tht.net

 · 

reply

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-sql@postgresql.org
  Cc: ycc@bigfoot.com
  Subject: Re: Problems of Temporary table
  In-Reply-To: <9rcuri$1fts$1@news.tht.net>

* 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