Thread: pgsql-server/src/bin/initdb initdb.c

pgsql-server/src/bin/initdb initdb.c

From
tgl@svr1.postgresql.org (Tom Lane)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@svr1.postgresql.org    03/11/13 19:46:31

Modified files:
    src/bin/initdb : initdb.c

Log message:
    Preliminary code review for C version of initdb.  Re-centralize handling
    of option switches for backend, fix handling of COPY from data files so
    that we won't have the newline-after-\. issue back again, add back some
    comments and printouts lost from the shell script, etc.  Still needs work
    for error handling; in particular the shell version worked much more
    nicely for the case of a postgres executable that fails on invocation.