Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WVKK3-0004qu-Uf for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Apr 2014 12:31:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1WVKK3-00061j-FC for pgsql-bugs@arkaria.postgresql.org; Wed, 02 Apr 2014 12:31:15 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WV6aI-0001BL-Nn for pgsql-bugs@postgresql.org; Tue, 01 Apr 2014 21:51:06 +0000 Received: from mail-lb0-x229.google.com ([2a00:1450:4010:c04::229]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1WV6aF-0001Ip-LN for pgsql-bugs@postgresql.org; Tue, 01 Apr 2014 21:51:05 +0000 Received: by mail-lb0-f169.google.com with SMTP id q8so7453598lbi.14 for ; Tue, 01 Apr 2014 14:51:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=S0/w127YIwygB8SRbSOe1ME8Gzx1xvDECZDbmVxKSTU=; b=W/1ZOSb2o0Au8EeVIoP5wHtbgLQtgEHNLbRB2iueBQ68x6mchen3Ru0SPdmyR14/So U8yIJQkP6h598QfByEUy/Ygn3kCaoNpRJpW6R13pDnupxPsK3+iSXczpD16wjPAmZqdJ U8Jp89nDkC0n6qIkoSVApJ/yxI2s/uMm2EADbZJFc5voG3vQp52k2xiQP/MyoJyv70Sa hzThZzq5VjQBDjDf3RDtsIysil0LLo8fuZnQBMDLxM5nM0j+6TRvWetp0W2ms+R2E8Rz wuAJnVmLRC9u83yQV6ENbSnd+puKTDjaBaa9n+PLoQ7x1zodepeNzh4eAHSI9Nr5yxyo GuWQ== MIME-Version: 1.0 X-Received: by 10.152.7.8 with SMTP id f8mr2482293laa.39.1396389061872; Tue, 01 Apr 2014 14:51:01 -0700 (PDT) Received: by 10.114.184.9 with HTTP; Tue, 1 Apr 2014 14:51:01 -0700 (PDT) Date: Tue, 1 Apr 2014 17:51:01 -0400 Message-ID: Subject: postgresql-9.3.4-1-windows-x64 installer - Problem with strong passwords From: Richard DeVenezia To: pgsql-bugs@postgresql.org Content-Type: multipart/alternative; boundary=001a11c2a0f40050d004f6022a87 X-Pg-Spam-Score: -0.1 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org --001a11c2a0f40050d004f6022a87 Content-Type: text/plain; charset=ISO-8859-1 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 --001a11c2a0f40050d004f6022a87 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello group:<= br>
I attempted an install on Window 2008 Server R2 with postgresq= l-9.3.4-1-windows-x64.exe.

Option choices was easy

Inst= all location, default C:\Program Files\....
Data location, set to D:\XYZ\pgdata
Password: ULv&9= 4T;)7--S;<
Port: 5432

The password was output= by a strong password generator.

The install went o= k 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=3DULv&94T;)7--S;<

Windows really h= ates 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 bat= ch file with appropriate DOS escapes, for examle

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

Richard
--001a11c2a0f40050d004f6022a87--