We are working on checking to see whether a database has been created
from a Perl/Pg interface. Is there an easy way to count tables such
that if the count comes back at zero the script knows that the database
has not yet been created?
We tried simply using \d but cannot get that to work. I would assume
there is some system table that must list the tables when there are some??
//Jodi L Kanter
BioInformatics Database Administrator
University of Virginia
pgsql-admin by date
|Next:||From: LSanchez||Date: 2004-05-26 15:25:03|
|Subject: Re: pg_hba.conf|
|Previous:||From: Bruce Momjian||Date: 2004-05-26 15:12:54|
|Subject: Re: Postgresql Bulk Loading|