SQL: how to find if a table exists?

From: Jean-Christian Imbeault <totsubo2001(at)netscape(dot)net>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: SQL: how to find if a table exists?
Date: 2002-09-07 13:36:47
Message-ID: 3D7A00EF.20201@netscape.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I need to programmatically create a table if it does not already exists.

Is there an SQL statement that will allow me to query a DB to see if a
table exists?

Thanks,

Jc

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2002-09-07 14:05:14 Re: Making small bits of code available
Previous Message Bruno Wolff III 2002-09-07 12:01:01 Re: Making small bits of code available