我们已经安装了新的 gpdb 数据库。但是,当尝试连接 template0 数据库时。
[gpadmin@mdw~]$ psql -d template0
psql: FATAL: database "template0" is not currently accepting connections
[gpadmin@mdw~]$
我们尝试更新 FLAG
template1=# UPDATE pg_database SET datallowconn = TRUE WHERE datname = 'template0';
ERROR: permission denied: "pg_database" is a system catalog
template1=#
但是,它不允许更新 FLAG