Thread: pgsql: Fix initdb to properly escape quotes and backslashes in the

pgsql: Fix initdb to properly escape quotes and backslashes in the

From
tgl@postgresql.org (Tom Lane)
Date:
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.

Tags:
----
REL8_1_STABLE

Modified Files:
--------------
    pgsql/src/bin/initdb:
        initdb.c (r1.99.2.2 -> r1.99.2.3)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c.diff?r1=1.99.2.2&r2=1.99.2.3)