| От | John R Pierce |
|---|---|
| Тема | Re: Use Driver to Create database? |
| Дата | |
| Msg-id | 45613820.6080909@hogranch.com обсуждение исходный текст |
| Ответ на | Re: Use Driver to Create database? ("Heikki Linnakangas" <heikki@enterprisedb.com>) |
| Список | pgsql-jdbc |
>> First connect to the postgres or template1 schema of the cluster, that >> you created with initdb. Execute the "CREATE DATABASE". Reconnect to the >> database you created. > > You don't want to connect to template1, though, if the program is > going to be used concurrently by more than one use. Template1 is used > as template (hence the name) to make the new database, and it will > throw an error if there's any other users connected to it beside the > one issuing the CREATE DATABASE command. > indeed. In fact you can connect to ANY existing database prior to issusing the CREATE DATABASE command. It is important, however, that you be logged on with credentials that have the CREATEDB privilege
В списке pgsql-jdbc по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера