pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Richard DeVenezia <rdevenezia@gmail.com>
To: pgsql-bugs@postgresql.org
Subject: postgresql-9.3.4-1-windows-x64 installer - Problem with strong passwords
Date: Tue, 1 Apr 2014 17:51:01 -0400
Message-ID: <CACT-pRyMcACeLCquuaUT7HsRwk2eG8FGr37HorwTAALmrxLDLA@mail.gmail.com> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

Hello group:

I attempted an install on Window 2008 Server R2 with
postgresql-9.3.4-1-windows-x64.exe.

Option choices was easy

Install location, default C:\Program Files\....
Data location, set to D:\XYZ\pgdata
Password: ULv&94T;)7--S;<
Port: 5432

The password was output by a strong password generator.

The install went ok until it was time to run some batch files that the
installer creates.
The installer creates a batch file containing a set statement such as

SET PGPASSWD=ULv&94T;)7--S;<

Windows really hates special characters and can not set the password
properly and probably fails behind the scenes.

Eventually a dialog appears saying the install probably didn't work
properly (because a conf file in the pgdata folder was not found)

The installer should be updated to disallow any characters that will not
work in the generated batch files, or properly generate a batch file with
appropriate DOS escapes, for examle

SET PGPASSWD=ULv^^^&94T^^^;^^^)7--S^^^;^^^<

Richard

Message-ID: <CACT-pRyMcACeLCquuaUT7HsRwk2eG8FGr37HorwTAALmrxLDLA@mail.gmail.com>
Permalink:  ../CACT-pRyMcACeLCquuaUT7HsRwk2eG8FGr37HorwTAALmrxLDLA@mail.gmail.com/
Also on:    postgresql.org/message-id/CACT-pRyMcACeLCquuaUT7HsRwk2eG8FGr37HorwTAALmrxLDLA@mail.gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: rdevenezia@gmail.com
  Subject: Re: postgresql-9.3.4-1-windows-x64 installer - Problem with strong passwords
  In-Reply-To: <CACT-pRyMcACeLCquuaUT7HsRwk2eG8FGr37HorwTAALmrxLDLA@mail.gmail.com>
  References: <CACT-pRyMcACeLCquuaUT7HsRwk2eG8FGr37HorwTAALmrxLDLA@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox