Thread: pgsql: Remove initdb's rather gratuitous check to see if the backend

pgsql: Remove initdb's rather gratuitous check to see if the backend

From
tgl@postgresql.org (Tom Lane)
Date:
Log Message:
-----------
Remove initdb's rather gratuitous check to see if the backend created a
flat password file, because it never will anymore.  We had managed to
miss this during the recent flat-file-ectomy because it only happens if
--pwfile or --pwprompt is specified to initdb.  Apparently, few hackers
use those.  Reported by Erik Rijkers.

Modified Files:
--------------
    pgsql/src/bin/initdb:
        initdb.c (r1.174 -> r1.175)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/initdb/initdb.c?r1=1.174&r2=1.175)

Re: pgsql: Remove initdb's rather gratuitous check to see if the backend

From
Robert Haas
Date:
On Wed, Sep 2, 2009 at 9:40 PM, Tom Lane<tgl@postgresql.org> wrote:
> Log Message:
> -----------
> Remove initdb's rather gratuitous check to see if the backend created a
> flat password file, because it never will anymore.  We had managed to
> miss this during the recent flat-file-ectomy because it only happens if
> --pwfile or --pwprompt is specified to initdb.  Apparently, few hackers
> use those.  Reported by Erik Rijkers.

I am vastly amused by the repeated use of the term "flat-file-ectomy"...

(with apologies for the noise)

...Robert