check if database is correctly created

From: "Alain Roger" <raf(dot)news(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: check if database is correctly created
Date: 2007-08-15 08:08:36
Message-ID: 75645bbb0708150108q4511850cifb0e6e9fc3d01489@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

i would like to check (via PHP or C#) if my database has been correctly
created.
for that i use the following SQL :
select * from pg_tables where tablename = 'xxx' AND schemaname = 'yyy';
this i repeat till i check all tables.

But how to check sequences, index, functions, and so on ?

thanks a lot,

--
Alain
------------------------------------
Windows XP SP2
PostgreSQL 8.2.3
Apache 2.2.4
PHP 5.2.3

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Karsten Hilbert 2007-08-15 08:43:59 Re: check if database is correctly created
Previous Message Hannes Dorbath 2007-08-15 07:32:04 Re: Persistent connections in PHP