• Tom Lane's avatar
    Allow CREATE/ALTER DATABASE to manipulate datistemplate and datallowconn. · fbb1d7d7
    Tom Lane authored
    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
    fbb1d7d7
tab-complete.c 140 KB