アクセス制御

Postgres provides mechanisms to allow users to limit the access to their data that is provided to other users.

Postgresには、ユーザが他のユーザに対 して自分のデータへのアクセスを制限するための機構が用意されています。

データベース・スーパユーザ

Database super-users (i.e., users who have pg_user.usesuper set) silently bypass all of the access controls described below with two exceptions: manual system catalog updates are not permitted if the user does not have pg_user.usecatupd set, and destruction of system catalogs (or modification of their schemas) is never allowed.

データベースのスーパ-ユーザ (すなわち、 pg_user.usesuper の設定を持つユーザ) は、以下に示す 二つの例外を除いて、アクセス制御のすべてを警告なしにバイパスすることが できます:pg_user.usecatupd 設定を持たないユーザは、 手動でのシステムカタログの更新が許されず、また、システムカタログの破壊 (あるいはそれらのスキーマの修正)は決して許されません。

アクセス特権

The use of access privilege to limit reading, writing and setting of rules on classes is covered in grant/revoke(l).

読み出しや書き込み、あるいは、クラスへのルールの設定などのアク セス特権の使用は grant/revoke(l) で可能です。

クラスの削除とスキーマの修正

Commands that destroy or modify the structure of an existing class, such as alter, drop table, and drop index, only operate for the owner of the class. As mentioned above, these operations are never permitted on system catalogs.

alterdrop table ある いは drop index のように、現存するクラスの構造を、 変えたり壊したりするコマンドは、そのクラスの所有者のみが使うことができ ます。既に述べたように、システムカタログへのこれらの操作は 決して 許されません。