| От | Murray Cumming |
|---|---|
| Тема | Connecting without specifying a database |
| Дата | |
| Msg-id | 1108036223.3706.12.camel@localhost.localdomain обсуждение исходный текст |
| Ответы |
Re: Connecting without specifying a database
Re: Connecting without specifying a database |
| Список | pgsql-interfaces |
Can PQconnectdb(), or something else, be used without specifying the dbname in the connection string? I want to connect just so that I can create a database that does not exist yet. When I don't specify the dbname, PQconnectdb() tries to connect to a database with the same name as the user, and then complains that it does not exist. Is it really necessary for each user to have an empty database like this? -- Murray Cumming murrayc@murrayc.com www.murrayc.com www.openismus.com
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера