From: jack <datactrl@tpg.com.au>
To: pgsql-sql@postgresql.org
Subject: Re: About temporary table
Date: Mon, 25 Mar 2002 14:11:16 +1000
Message-ID: <006b01c1d3b3$1c72b210$1400a8c0@jac> (raw)
References: <200203250354.g2P3sEC02066@candle.pha.pa.us>
But when I write SQL in pl/pgSQL, I can't test to drop a temporary table. If
it fails, the whole procedure will be aborted. That's my problem!
JACK
----- Original Message -----
From: "Bruce Momjian" <pgman@candle.pha.pa.us>
To: "jack" <datactrl@tpg.com.au>
Cc: <pgsql-sql@postgresql.org>
Sent: Monday, March 25, 2002 1:54 PM
Subject: Re: [SQL] About temporary table
> jack wrote:
> > HI,
> >
> > I installed postgreSql v7.2. There is a question about temporary tables.
How
> > can I drop a temporary table only if it exists? Thank you!
>
> Uh, just issue the drop and ignore the possible error.
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman@candle.pha.pa.us | (610) 853-3000
> + If your life is a hard drive, | 830 Blythe Avenue
> + Christ can be your backup. | Drexel Hill, Pennsylvania 19026
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
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: datactrl@tpg.com.au
Subject: Re: About temporary table
In-Reply-To: <006b01c1d3b3$1c72b210$1400a8c0@jac>
* 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