值得一提的是,您可以自由地将群集中的任何现有数据库定义为“维护DB”.您不限于界面建议的选项,这些选项只是典型的默认设置.
这对于具有有限权限或只读访问权限的用户特别有用.使用与“Maintenance DB”相同的DB可以更轻松地访问单个DB.
更多细节:
Do all users need access to the postgres database in pg_hba.conf?
什么是维护db? Per documentation:
The postgres database is also created when a database cluster is initialized. This database is meant as a default database for users and applications to connect to. It is simply a copy of template1 and can be dropped and recreated if necessary.