Re: Create Database using JDBC

Поиск
Список
Период
Сортировка
От Markus Schaber
Тема Re: Create Database using JDBC
Дата
Msg-id 43A41147.5040602@logix-tt.com
обсуждение исходный текст
Ответ на Re: Create Database using JDBC  ("Nidhi Srivastava" <nsrivastava@quark.com>)
Список pgsql-jdbc
Hi, Nidhi,

Nidhi Srivastava schrieb:
> But even that alternate template database would need to be created the
> first time after server installation by connceting to the template1 DB??
> Right??

No, you can specify any database that has no active connections (exept
possibly your own single one) as template on database creation,
including template0 (which is usually set up to refuse connections).

So connect to template1, and create your new template database with
using template0 as template.

HTH,
Markus

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

Предыдущее
От: Markus Schaber
Дата:
Сообщение: Re: Create Database using JDBC
Следующее
От: "j.random.programmer"
Дата:
Сообщение: 8.2dev-500.jdbc3 driver: PreparedStatement.toString() is buggy