From: | "John Anson" <postgres(at)jomich(dot)com> |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | BUG #1446: MSI installion fails if the postgres database password contains an apostrophe |
Date: | 2005-01-28 05:48:44 |
Message-ID: | 20050128054844.BE3079A59E3@www.postgresql.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
The following bug has been logged online:
Bug reference: 1446
Logged by: John Anson
Email address: postgres(at)jomich(dot)com
PostgreSQL version: 8.0.0.5017
Operating system: Windows XP SP2
Description: MSI installion fails if the postgres database password
contains an apostrophe
Details:
The Windows installer fails if the postgres database password contains an
apostrophe.
When I used the password "post'gres" or "post'gres'", the installation
failed with: PostgreSQL 8.0 -- Failed to run initdb: 1!
(I've included the text from initdb.log below).
When I used the password "''''", the installation failed with:
- PostgreSQL 8.0 -- Failed to connect to the database. Procedural languages
files are installed, but are not activated in any databases.
- PostgreSQL 8.0 -- missing "=" after "''''" in connection info string
D:\Program Files\PostgreSQL\8.0\tmp\initdb.log:
The files belonging to this database system will be owned by user
"postgres".
This user must also own the server process.
The database cluster will be initialized with locale C.
fixing permissions on existing directory D:/Program
Files/PostgreSQL/8.0/data ... ok
creating directory D:/Program Files/PostgreSQL/8.0/data/global ... ok
creating directory D:/Program Files/PostgreSQL/8.0/data/pg_xlog ... ok
creating directory D:/Program
Files/PostgreSQL/8.0/data/pg_xlog/archive_status ... ok
creating directory D:/Program Files/PostgreSQL/8.0/data/pg_clog ... ok
creating directory D:/Program Files/PostgreSQL/8.0/data/pg_subtrans ... ok
creating directory D:/Program Files/PostgreSQL/8.0/data/base ... ok
creating directory D:/Program Files/PostgreSQL/8.0/data/base/1 ... ok
creating directory D:/Program Files/PostgreSQL/8.0/data/pg_tblspc ... ok
selecting default max_connections ... 100
selecting default shared_buffers ... 1000
creating configuration files ... ok
creating template1 database in D:/Program Files/PostgreSQL/8.0/data/base/1
... ok
initializing pg_shadow ... ok
setting password ... FATAL: syntax error at or near "gres" at character 43
child process was terminated by signal 1
initdb: removing contents of data directory "D:/Program
Files/PostgreSQL/8.0/data"
From | Date | Subject | |
---|---|---|---|
Next Message | Olleg Samoylov | 2005-01-28 15:13:33 | BUG #1447: Sometimes rules don't work |
Previous Message | John Anson | 2005-01-28 05:02:45 | BUG #1445: Installation failed during "Activating Procedural Languages" - "Failed to connect to the database" |