Re: test the existence of a database - Mailing list pgsql-sql

From Erle Czar Mantos
Subject Re: test the existence of a database
Date
Msg-id Pine.LNX.4.33L2.0202261614510.1435-100000@hindang.msuiit.edu.ph
Whole thread Raw
In response to test the existence of a database  ("D'laila Pereira" <dpereira@students.uiuc.edu>)
Responses Re: test the existence of a database
List pgsql-sql
Hello,
   I do not see wat u r trying to mean? Do you want to test the
existence of a database from your code or from the standard shell?   If you want to test from your code, you can try
connectingto
 
that database and if your connection is null, that means there
might be no database present.
                                                   Erle

>
> After a database is created in postgresql using the createdb command,
> and populate it with some taqbles, how do we test the existence of the
> database and the tables within it?
>
> thanks
> d'laila
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org
>



pgsql-sql by date:

Previous
From: Erle Czar Mantos
Date:
Subject: Re: On delete cascade!
Next
From: Jerome Alet
Date:
Subject: Re: test the existence of a database