BUG #6252: After drop the default database 'postgres', I can not create a database by 'createdb.exe'

From: "Can not create DB by 'createdb(dot)exe' when DB 'postgres' is droped" <yanghui328(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #6252: After drop the default database 'postgres', I can not create a database by 'createdb.exe'
Date: 2011-10-12 06:48:41
Message-ID: 201110120648.p9C6mfGf002304@wwwmaster.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


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(at)gmail(dot)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

PS:file: '\postgresql-9.0.5\src\bin\scripts\createdb.c'
Line: 195
Source: conn = connectDatabase(strcmp(dbname, "postgres") == 0 ?
"template1" : "postgres", host, port, username, prompt_password, progname);

*Sorry for my poor English

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Stefan Kaltenbrunner 2011-10-12 06:50:41 Re: BUG #6247: Freeswitch will crash after 2-3 days within odbc connection
Previous Message STIEG Heimo 2011-10-12 06:40:43 Re: BUG #6247: Freeswitch will crash after 2-3 days within odbc connection