pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Hans-Juergen Schoenig <hs@bachata.cybertec.at>
To: pgsql-sql@postgresql.org
Subject: Re: Checking for table existence
Date: Sat, 15 Sep 2001 10:48:02 +0200
Message-ID: <3BA315C2.DBC51E25@bachata.cybertec.at> (raw)
References: <prso7.50245$f7.6232115@news02.optonline.net>

Simply look it up in the system tables:

SELECT * FROM pg_class WHERE relname='mydata';

    Hans




view thread (7+ messages)  latest in thread

Message-ID: <3BA315C2.DBC51E25@bachata.cybertec.at>
Permalink:  ../3BA315C2.DBC51E25@bachata.cybertec.at/
Also on:    postgresql.org/message-id/3BA315C2.DBC51E25@bachata.cybertec.at

 · 

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: hs@bachata.cybertec.at
  Subject: Re: Checking for table existence
  In-Reply-To: <3BA315C2.DBC51E25@bachata.cybertec.at>

* 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