postgresql/src/bin/initdb
Tom Lane fbb1d7d73f Allow CREATE/ALTER DATABASE to manipulate datistemplate and datallowconn.
Historically these database properties could be manipulated only by
manually updating pg_database, which is error-prone and only possible for
superusers.  But there seems no good reason not to allow database owners to
set them for their databases, so invent CREATE/ALTER DATABASE options to do
that.  Adjust a couple of places that were doing it the hard way to use the
commands instead.

Vik Fearing, reviewed by Pavel Stehule
2014-07-01 20:10:38 -04:00
..
po Translation updates 2014-05-10 22:16:59 -04:00
t pgindent run for 9.4 2014-05-06 12:12:18 -04:00
.gitignore Add TAP tests for client programs 2014-04-14 21:33:46 -04:00
findtimezone.c pgindent run for 9.4 2014-05-06 12:12:18 -04:00
initdb.c Allow CREATE/ALTER DATABASE to manipulate datistemplate and datallowconn. 2014-07-01 20:10:38 -04:00
Makefile Clean up temp installations after client program tests. 2014-04-25 15:40:35 -04:00
nls.mk Move rmtree() from libpgport to libpgcommon 2013-10-19 10:20:51 -04:00