pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jan Wieck <JanWieck@Yahoo.com>
To: Mintoo Lall <tlqmail@yahoo.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Drop temporary table only if it exists
Date: Tue, 18 Feb 2003 12:38:14 -0500
Message-ID: <3E526F86.69391A03@Yahoo.com> (raw)
References: <20030214153413.24680.qmail@web14802.mail.yahoo.com>

Mintoo Lall wrote:
> 
> Hi Everybody,
> 
> How do I drop a temporary table ( or for that matter a sequence) only
> if it exists  or create them if they donot exist ? I want to do this
> to avoid any errors

I wonder what type of application cannot remember if it created a temp
object or not during the lifetime of it's database connection.


Jan

> 
> Any help is appreciated .
> 
> Thanks,
> 
> Tarun
> 
> ----------------------------------------------------------------------
> Do you Yahoo!?
> Yahoo! Shopping - Send Flowers for Valentine's Day


-- 
#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#================================================== JanWieck@Yahoo.com #



view thread (8+ messages)  latest in thread

Message-ID: <3E526F86.69391A03@Yahoo.com>
Permalink:  ../3E526F86.69391A03@Yahoo.com/
Also on:    postgresql.org/message-id/3E526F86.69391A03@Yahoo.com

 · 

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: JanWieck@Yahoo.com, tlqmail@yahoo.com
  Subject: Re: Drop temporary table only if it exists
  In-Reply-To: <3E526F86.69391A03@Yahoo.com>

* 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