Thread: pgsql-server/src/bin/scripts clusterdb created ...

pgsql-server/src/bin/scripts clusterdb created ...

From
momjian@postgresql.org (Bruce Momjian - CVS)
Date:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    momjian@postgresql.org    02/10/15 23:24:09

Modified files:
    src/bin/scripts: clusterdb createdb createlang.sh createuser
                     dropdb droplang dropuser vacuumdb

Log message:
    Fix script to handle autocommit = 'off' by prepending autocommit 'on' to
    the start of the psql commandline.  This is better than adding BEGIN/END
    because it handles multiple queries well, and allows the return code for
    psql to return the proper value.