Add --template option to createdb script to allow access to WITH TEMPLATE
Tom Lane <tgl@sss.pgh.pa.us>
Add --template option to createdb script to allow access to WITH TEMPLATE option of CREATE DATABASE. In pg_regress, create regression database from template0 to ensure that any installation-local cruft in template1 will not mess up the tests.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/ref/createdb.sgml | modified | +23 −8 |
| src/bin/scripts/createdb | modified | +16 −2 |
| src/test/regress/pg_regress.sh | modified | +4 −2 |