Re: BUG #6252: After drop the default database 'postgres', I can not create a database by 'createdb.exe'
В списке pgsql-bugs по дате отправления:
| От | Craig Ringer |
|---|---|
| Тема | Re: BUG #6252: After drop the default database 'postgres', I can not create a database by 'createdb.exe' |
| Дата | |
| Msg-id | 4E96530B.7060507@ringerc.id.au обсуждение исходный текст |
| Ответ на | BUG #6252: After drop the default database 'postgres', I can not create a database by 'createdb.exe' ("Can not create DB by 'createdb.exe' when DB 'postgres' is droped" <yanghui328@gmail.com>) |
| Список | pgsql-bugs |
On 10/12/2011 02:48 PM, Can not create DB by 'createdb.exe' when DB 'postgres' is droped wrote: > > The following bug has been logged online: > > Bug reference: 6252 > Logged by: Can not create DB by 'createdb.exe' when DB 'postgres' > is droped > Email address: yanghui328@gmail.com > PostgreSQL version: 9.0.5 > Operating system: Windows XP SP2 > Description: After drop the default database 'postgres', I can not > create a database by 'createdb.exe' > Details: > > 1.drop database 'postgres' > 2.create a database by createdb.exe > the follow error message will dispaly: > Can not create DB by 'createdb.exe' when database 'postgres' is droped Yep. You need to use a `CREATE DATABASE' command from psql to re-create the `postgres' database after connecting to the "template1" database, eg: template1=> CREATE DATABASE postgres WITH OWNER postgres; -- Craig Ringer
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера