Movatterモバイル変換


[0]ホーム

URL:



Facebook
Postgres Pro
Facebook
Downloads
Chapter 21. Database Roles
Prev UpPart III. Server AdministrationHome Next

Chapter 21. Database Roles

PostgreSQL manages database access permissions using the concept ofroles. A role can be thought of as either a database user, or a group of database users, depending on how the role is set up. Roles can own database objects (for example, tables and functions) and can assign privileges on those objects to other roles to control who has access to which objects. Furthermore, it is possible to grantmembership in a role to another role, thus allowing the member role to use privileges assigned to another role.

The concept of roles subsumes the concepts ofusers andgroups. InPostgreSQL versions before 8.1, users and groups were distinct kinds of entities, but now there are only roles. Any role can act as a user, a group, or both.

This chapter describes how to create and manage roles. More information about the effects of role privileges on various database objects can be found inSection 5.8.


Prev Up Next
20.15. Authentication Problems Home 21.1. Database Roles
pdfepub
Go to PostgreSQL 17
By continuing to browse this website, you agree to the use of cookies. Go toPrivacy Policy.

[8]ページ先頭

©2009-2025 Movatter.jp