greenplum - psql: database "template0" is not currently accepting connections -
we have installed fresh gpdb database.but,when trying connect template0 database.
[gpadmin@mdw~]$ psql -d template0 psql: fatal: database "template0" not accepting connections [gpadmin@mdw~]$
we tried update flag
template1=# update pg_database set datallowconn = true datname = 'template0'; error: permission denied: "pg_database" system catalog template1=#
but,it not allowing update flag
there no reason connect template0. template1 should not used, because default template newly created databases. if create in template1, copied new database. easy forget if use template1 connect database , forget switch databases.
you can use postgres database connections. 1 not used otherwise.
Comments
Post a Comment