{"Entry":{"collection":"role","key":"pg_database_owner","name":"pg_database_owner","aliases":[],"metadata":{"aliases":[],"category":"Administration","content_hash":"8ff3eb66690f329a62d6ab42bf0721b4144b8bedf0bd6803214e9ca07a3df2b1","derived_content_hash":"c104e28c0b042d8a33b349bd3ad1df33481a96374fe24c9f59d64dc7d3e105d3","imported_at":"2026-09-27T17:57:59.044276+08:00","name":"pg_database_owner","name_zh":"pg_database_owner","repair_provenance":{"original_source_revision":"","receipt_sha256":"a86c0aa9ab54354450af86bf3f8664bd81e5817f370c7c0a1e5bcf75eba7da38","repair":"wiki-repair-20261023"},"slug":"pg_database_owner","source_rev":"wiki-repair-20261023:695becb5e098f6e01b5417f2a5f9b779701d50006eda072dc561da54d3fd5b06","summary":"pg_database_owner always has exactly one implicit member: the current database owner. It cannot be granted membership in any role, and no role can be granted membership in pg_database_owner . However, like any other role, it can own objects and receive grants of access privileges. Consequently, once pg_database_owner has rights within a template database, each owner of a database instantiated from that template will possess those rights. Initially, this role owns the public schema, so each database owner governs local use of that schema."}},"Definition":{"Collection":"role","Key":"pg_database_owner","SourceDatabase":"center","Version":"18","SourceTable":"predefined_role","SourceKey":"pg_database_owner","SourceRevision":"b7ebd726e6017f55081b4034b96d6a3289ae7937a26adaf72e58b9a08e009c75","Facts":{"description":["pg_database_owner always has exactly one implicit member: the current database owner. It cannot be granted membership in any role, and no role can be granted membership in pg_database_owner . However, like any other role, it can own objects and receive grants of access privileges. Consequently, once pg_database_owner has rights within a template database, each owner of a database instantiated from that template will possess those rights. Initially, this role owns the public schema, so each database owner governs local use of that schema."],"description_zh":"pg_database_owner 始终恰好有一个隐式成员：当前数据库的拥有者。它不能被授予任何角色中的成员资格，也不能有任何角色被授予 pg_database_owner 中的成员资格。不过，和其他角色一样，它可以拥有对象并获得访问权限授权。因此，一旦 pg_database_owner 在某个模板数据库中拥有权限，由该模板实例化的每个数据库的拥有者都将拥有这些权限。最初，这个角色拥有 public 模式，因此每个数据库拥有者都管理该模式在本数据库中的使用。","description_zh_html":"\u003cp\u003e\n\u003ccode class=\"literal\"\u003epg_database_owner\u003c/code\u003e 始终恰好有一个隐式成员：当前数据库的拥有者。它不能被授予任何角色中的成员资格，也不能有任何角色被授予 \u003ccode class=\"literal\"\u003epg_database_owner\u003c/code\u003e 中的成员资格。不过，和其他角色一样，它可以拥有对象并获得访问权限授权。因此，一旦 \u003ccode class=\"literal\"\u003epg_database_owner\u003c/code\u003e 在某个模板数据库中拥有权限，由该模板实例化的每个数据库的拥有者都将拥有这些权限。最初，这个角色拥有 \u003ccode class=\"literal\"\u003epublic\u003c/code\u003e 模式，因此每个数据库拥有者都管理该模式在本数据库中的使用。\n      \u003c/p\u003e","facts":[{"label":"Name","value":"pg_database_owner"},{"label":"Manual terminology","value":"Predefined roles"}],"related":[],"release":{"channel":"stable","label":"18.6","major":"18","ref":"PostgreSQL 18.6 Documentation","revision":"b7ebd726e6017f55081b4034b96d6a3289ae7937a26adaf72e58b9a08e009c75"},"sections":[],"sources":[{"label":"PostgreSQL 18.6 Documentation","sha256":"b7ebd726e6017f55081b4034b96d6a3289ae7937a26adaf72e58b9a08e009c75","url":"/docs/18/predefined-roles.html#PREDEFINED-ROLE-PG-DATABASE-OWNER"},{"label":"PostgreSQL 18 online manual","url":"https://www.postgresql.org/docs/18/predefined-roles.html#PREDEFINED-ROLE-PG-DATABASE-OWNER"}],"translation_provenance":{"inputs":[{"kind":"current-pgdoc-translation","path":"/Users/vonng/pgsty/pgdoc/zh/18/html/predefined-roles.html","sha256":"99e1fbd83b1da2cf9da5823238b31d78c953c6118ecc61939808d2bf32f9b56d"}],"kind":"same-version-pgdoc","locale":"zh-Hans","source_revision":"b1b500221dbe5437cfca004d6b04d3f6e422765d","version":"18"},"zh_from":"same-version-pgdoc"},"ManualEvidence":{"release":{"channel":"stable","label":"18.6","major":"18","ref":"PostgreSQL 18.6 Documentation","revision":"b7ebd726e6017f55081b4034b96d6a3289ae7937a26adaf72e58b9a08e009c75"},"sources":[{"label":"PostgreSQL 18.6 Documentation","sha256":"b7ebd726e6017f55081b4034b96d6a3289ae7937a26adaf72e58b9a08e009c75","url":"/docs/18/predefined-roles.html#PREDEFINED-ROLE-PG-DATABASE-OWNER"},{"label":"PostgreSQL 18 online manual","url":"https://www.postgresql.org/docs/18/predefined-roles.html#PREDEFINED-ROLE-PG-DATABASE-OWNER"}]},"MeasuredEvidence":{}},"Text":{"Collection":"role","Key":"pg_database_owner","SourceDatabase":"center","Version":"18","Locale":"en","Title":"pg_database_owner","Summary":"pg_database_owner always has exactly one implicit member: the current database owner. It cannot be granted membership in any role, and no role can be granted membership in pg_database_owner . However, like any other role, it can own objects and receive grants of access privileges. Consequently, once pg_database_owner has rights within a template database, each owner of a database instantiated from that template will possess those rights. Initially, this role owns the public schema, so each database owner governs local use of that schema.","BodyHTML":"\u003cp\u003epg_database_owner always has exactly one implicit member: the current database owner. It cannot be granted membership in any role, and no role can be granted membership in pg_database_owner . However, like any other role, it can own objects and receive grants of access privileges. Consequently, once pg_database_owner has rights within a template database, each owner of a database instantiated from that template will possess those rights. Initially, this role owns the public schema, so each database owner governs local use of that schema.\u003c/p\u003e","SourceRevision":"b7ebd726e6017f55081b4034b96d6a3289ae7937a26adaf72e58b9a08e009c75","ContentHash":"21b1fa357f3d1ac7a9896cd4980bbf9846a091c5e360a86ec949e2431263a9c1","Payload":{"description":["pg_database_owner always has exactly one implicit member: the current database owner. It cannot be granted membership in any role, and no role can be granted membership in pg_database_owner . However, like any other role, it can own objects and receive grants of access privileges. Consequently, once pg_database_owner has rights within a template database, each owner of a database instantiated from that template will possess those rights. Initially, this role owns the public schema, so each database owner governs local use of that schema."],"related":[],"sections":[]}},"RequestedLocale":"en","Fallback":false,"Versions":["14","15","16","17","18","19","20"],"Locales":["en","zh-Hans"],"Signatures":null,"Spellings":null,"SQLState":null,"Evidence":null}
