Re: if exists?

From: Arindam Haldar <arindamhaldar(at)hotpop(dot)com>
To: Vincent Stoessel <vincent(at)xaymaca(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: if exists?
Date: 2002-05-16 11:03:27
Message-ID: 3CE391FF.5010404@hotpop.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Vincent Stoessel wrote:

> Is there an sql query that I can use on postgres that will tell
> me if a table exists? I'm writing a perl script thatr creates a table.
> But I want it to rename a table with the same name if it finds an
> existing one.
> Thanks

masterdb-#\dt

In response to

  • if exists? at 2002-05-13 13:33:38 from Vincent Stoessel

Browse pgsql-general by date

  From Date Subject
Next Message arnaud.mlist1 2002-05-16 11:22:08 Re: Lexicographic index ?
Previous Message Serkan Bektaş 2002-05-16 10:33:02 Is there eny e-mail server that uses postgreSQL as backend server for mailboxes&users