Re: test the existence of a database

Поиск
Список
Период
Сортировка
От Erle Czar Mantos
Тема Re: test the existence of a database
Дата
Msg-id Pine.LNX.4.33L2.0202261614510.1435-100000@hindang.msuiit.edu.ph
обсуждение исходный текст
Ответ на test the existence of a database  ("D'laila Pereira" <dpereira@students.uiuc.edu>)
Ответы Re: test the existence of a database  (Jerome Alet <alet@unice.fr>)
Список 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 по дате отправления:

Предыдущее
От: Erle Czar Mantos
Дата:
Сообщение: Re: On delete cascade!
Следующее
От: Jerome Alet
Дата:
Сообщение: Re: test the existence of a database