pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alexander Steinert <stony8@gmx.de>
To: pgsql-sql@postgresql.org
Subject: Re: Check for table existence
Date: Thu, 29 Nov 2001 15:17:34 +0100
Message-ID: <20011129151734.C859@tyche.svt.tu-harburg.de> (raw)
In-Reply-To: <3C055B7E.BB52F0F1@but.auc.dk>
References: <3C055B7E.BB52F0F1@but.auc.dk>

> First, let me say that I am new to postgres. I used MySQL before, but..
> ehm..

Welcome.

> 	1. How can I check if a given table exists?
> 	2. How can I check if a given existing table has the right
> 	layout? (Correct column names and types)

http://archives2.us.postgresql.org/pgsql-sql/2001-07/msg00319.php
and
http://archives2.us.postgresql.org/pgsql-sql/2001-07/msg00403.php
will show you the way to go.

Stony



view thread (4+ messages)  latest in thread

Message-ID: <20011129151734.C859@tyche.svt.tu-harburg.de>
Permalink:  ../20011129151734.C859@tyche.svt.tu-harburg.de/
Also on:    postgresql.org/message-id/20011129151734.C859@tyche.svt.tu-harburg.de

 · 

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: stony8@gmx.de
  Subject: Re: Check for table existence
  In-Reply-To: <20011129151734.C859@tyche.svt.tu-harburg.de>

* 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