pgsql: Fix initdb to properly escape quotes and backslashes in the - Mailing list pgsql-committers

From tgl@postgresql.org (Tom Lane)
Subject pgsql: Fix initdb to properly escape quotes and backslashes in the
Date
Msg-id 20060527180706.EF0C99FA7B6@postgresql.org
Whole thread Raw
List pgsql-committers
Log Message:
-----------
Fix initdb to properly escape quotes and backslashes in the supplied
superuser password, and also in the paths of the various files it issues
SQL COPY commands for.  Per bug #2424.

Modified Files:
--------------
    pgsql/src/bin/initdb:
        initdb.c (r1.115 -> r1.116)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c.diff?r1=1.115&r2=1.116)

pgsql-committers by date:

Previous
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Re-introduce the yylex filter function formerly used to support
Next
From: tgl@postgresql.org (Tom Lane)
Date:
Subject: pgsql: Fix initdb to properly escape quotes and backslashes in the