check if database is correctly created - Mailing list pgsql-general

From Alain Roger
Subject check if database is correctly created
Date
Msg-id 75645bbb0708150108q4511850cifb0e6e9fc3d01489@mail.gmail.com
Whole thread Raw
Responses Re: check if database is correctly created  (Karsten Hilbert <Karsten.Hilbert@gmx.net>)
Re: check if database is correctly created  (Tom Lane <tgl@sss.pgh.pa.us>)
List 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

pgsql-general by date:

Previous
From: Hannes Dorbath
Date:
Subject: Re: Persistent connections in PHP
Next
From: Karsten Hilbert
Date:
Subject: Re: check if database is correctly created