Re: Check for table existence

From: Alexander Steinert <stony8(at)gmx(dot)de>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: Check for table existence
Date: 2001-11-29 14:17:34
Message-ID: 20011129151734.C859@tyche.svt.tu-harburg.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> 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

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Markus Bertheau 2001-11-29 14:36:58 Re: Fixing faulty dates - select on day part of a date field
Previous Message Gary Stainburn 2001-11-29 14:00:29 Re: Fixing faulty dates - select on day part of a date field