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

From Can not create DB by 'createdb.exe' when DB 'postgres' is droped
Subject BUG #6252: After drop the default database 'postgres', I can not create a database by 'createdb.exe'
Date
Msg-id 201110120648.p9C6mfGf002304@wwwmaster.postgresql.org
Whole thread Raw
Responses Re: BUG #6252: After drop the default database 'postgres', I can not create a database by 'createdb.exe'  ("Kevin Grittner" <Kevin.Grittner@wicourts.gov>)
Re: BUG #6252: After drop the default database 'postgres', I can not create a database by 'createdb.exe'  (Craig Ringer <ringerc@ringerc.id.au>)
List 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@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

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

pgsql-bugs by date:

Previous
From: Susannah
Date:
Subject: Re: BUG #6246: character encoding for 64 bit
Next
From: "Laurian Vostinar"
Date:
Subject: BUG #6253: JDBC driver: getIndexInfo() returns quotes around quoted column names