Re: [INTERFACES] Creating a database with JDBC

Поиск
Список
Период
Сортировка
От Cary B. O'Brien
Тема Re: [INTERFACES] Creating a database with JDBC
Дата
Msg-id 199809281917.PAA26543@access5.digex.net
обсуждение исходный текст
Ответ на Creating a database with JDBC  (Richard Heller <rheller@prime.cs.ohiou.edu>)
Список pgsql-interfaces
> Hi,
>
> Is there any way to connect to the postgresql driver without having a
> database already in existence?  I want to have a Java program that can
> check if a database already exists and create the database if it doesn't
> exist
>
You should be able to connect to template1 and select * from pg_database
to see what databases exist.

-- cary

В списке pgsql-interfaces по дате отправления:

Предыдущее
От: Peter T Mount
Дата:
Сообщение: Re: [INTERFACES] JDBC Connection refused
Следующее
От: "S.Ramaswamy"
Дата:
Сообщение: Re: [INTERFACES] JDBC Connection refused