-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcatalog-pg-default-acl.html
More file actions
109 lines (109 loc) · 9.58 KB
/
catalog-pg-default-acl.html
File metadata and controls
109 lines (109 loc) · 9.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>52.17. pg_default_acl</title><link rel="stylesheet" type="text/css" href="stylesheet.css" /><link rev="made" href="pgsql-docs@lists.postgresql.org" /><meta name="generator" content="DocBook XSL Stylesheets Vsnapshot" /><link rel="prev" href="catalog-pg-db-role-setting.html" title="52.16. pg_db_role_setting" /><link rel="next" href="catalog-pg-depend.html" title="52.18. pg_depend" /><meta name="viewport" content="width=device-width,initial-scale=1.0" /></head><body id="docContent" class="container-fluid col-10"><div class="other_version"><a href="https://www.postgresql.jp/document/">バージョンごとのドキュメント一覧</a></div><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="4" align="center"><a accesskey="h" href="index.html">PostgreSQL 18.3文書</a></th></tr><tr><td width="10%" align="left"></td><td width="10%" align="left"></td><td width="60%" align="center"><a href="catalogs.html" title="第52章 システムカタログ">第52章 システムカタログ</a></td><td width="20%" align="right"><div class="actions"><a class="issue" title="github" href="https://github.com/pgsql-jp/jpug-doc/issues/new?template=bug_report.yml&what-happened=version 18.3 : catalog-pg-default-acl.html">誤訳等の報告
</a></div></td></tr><tr><td width="10%" align="left"><a accesskey="p" href="catalog-pg-db-role-setting.html" title="52.16. pg_db_role_setting">前へ</a> </td><td width="10%" align="left"><a accesskey="u" href="catalogs.html" title="第52章 システムカタログ">上へ</a></td><td width="60%" align="center">52.17. <code class="structname">pg_default_acl</code></td><td width="20%" align="right"> <a accesskey="n" href="catalog-pg-depend.html" title="52.18. pg_depend">次へ</a></td></tr></table><hr /></div><div class="sect1" id="CATALOG-PG-DEFAULT-ACL"><div class="titlepage"><div><div><h2 class="title" style="clear: both">52.17. <code class="structname">pg_default_acl</code> <a href="#CATALOG-PG-DEFAULT-ACL" class="id_link">#</a></h2></div></div></div><a id="id-1.10.4.19.2" class="indexterm"></a><p>
<span class="original">
The catalog <structname>pg_default_acl</structname> stores initial
privileges to be assigned to newly created objects.
</span>
<code class="structname">pg_default_acl</code>カタログには、新規に作成されたオブジェクトに割り当てられた初期権限が格納されます。
</p><div class="table" id="id-1.10.4.19.4"><p class="title"><strong>表52.17 <code class="structname">pg_default_acl</code>の列</strong></p><div class="table-contents"><span class="original">
<title><structname>pg_default_acl</structname> Columns</title>
</span><table class="table" summary="pg_default_aclの列" border="1"><colgroup><col /></colgroup><thead><tr><th class="catalog_table_entry"><p class="column_definition">
<span class="original">
Column Type
</span>
列 型
</p>
<p>
<span class="original">
Description
</span>
説明
</p></th></tr></thead><tbody><tr><td class="catalog_table_entry"><p class="column_definition">
<code class="structfield">oid</code> <code class="type">oid</code>
</p>
<p>
<span class="original">
Row identifier
</span>
行識別子
</p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
<code class="structfield">defaclrole</code> <code class="type">oid</code>
<span class="original">
(references <link linkend="catalog-pg-authid"><structname>pg_authid</structname></link>.<structfield>oid</structfield>)
</span>
(参照先 <a class="link" href="catalog-pg-authid.html" title="52.8. pg_authid"><code class="structname">pg_authid</code></a>.<code class="structfield">oid</code>)
</p>
<p>
<span class="original">
The OID of the role associated with this entry
</span>
この項目に関連するロールのOID
</p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
<code class="structfield">defaclnamespace</code> <code class="type">oid</code>
<span class="original">
(references <link linkend="catalog-pg-namespace"><structname>pg_namespace</structname></link>.<structfield>oid</structfield>)
</span>
(参照先 <a class="link" href="catalog-pg-namespace.html" title="52.32. pg_namespace"><code class="structname">pg_namespace</code></a>.<code class="structfield">oid</code>)
</p>
<p>
<span class="original">
The OID of the namespace associated with this entry,
or zero if none
</span>
この項目に関連する名前空間のOID。何もない場合はゼロ
</p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
<code class="structfield">defaclobjtype</code> <code class="type">char</code>
</p>
<p>
<span class="original">
Type of object this entry is for:
<literal>r</literal> = relation (table, view),
<literal>S</literal> = sequence,
<literal>f</literal> = function,
<literal>T</literal> = type,
<literal>n</literal> = schema,
<literal>L</literal> = large object
</span>
この項目のオブジェクト種類:
<code class="literal">r</code> = リレーション(テーブル、ビュー)、
<code class="literal">S</code> = シーケンス、
<code class="literal">f</code> = 関数、
<code class="literal">T</code> = 型、
<code class="literal">n</code> = スキーマ、
<code class="literal">L</code> = ラージオブジェクト
</p></td></tr><tr><td class="catalog_table_entry"><p class="column_definition">
<code class="structfield">defaclacl</code> <code class="type">aclitem[]</code>
</p>
<p>
<span class="original">
Access privileges that this type of object should have on creation
</span>
この種類のオブジェクトが作成時に保持しなければならないアクセス権限
</p></td></tr></tbody></table></div></div><br class="table-break" /><p>
<span class="original">
A <structname>pg_default_acl</structname> entry shows the initial privileges to
be assigned to an object belonging to the indicated user. There are
currently two types of entry: <quote>global</quote> entries with
<structfield>defaclnamespace</structfield> = zero, and <quote>per-schema</quote> entries
that reference a particular schema. If a global entry is present then
it <emphasis>overrides</emphasis> the normal hard-wired default privileges
for the object type. A per-schema entry, if present, represents privileges
to be <emphasis>added to</emphasis> the global or hard-wired default privileges.
</span>
<code class="structname">pg_default_acl</code>の項目は、指示されたユーザに属するオブジェクトに割り当てられる初期権限を示します。
現在2種類の項目があります。
<code class="structfield">defaclnamespace</code> = ゼロを持つ<span class="quote">「<span class="quote">大域的</span>」</span>な項目と特定のスキーマを参照する<span class="quote">「<span class="quote">スキーマ単位</span>」</span>の項目です。
大域的な項目が存在する場合、その種類のオブジェクトの通常の組み込まれたデフォルト権限を<span class="emphasis"><em>上書き</em></span>します。
もしスキーマ単位の項目があれば、それは大域的な権限または組み込まれたデフォルト権限に<span class="emphasis"><em>追加される</em></span>権限を表します。
</p><p>
<span class="original">
Note that when an <acronym>ACL</acronym> entry in another catalog is null,
it is taken to represent the hard-wired default privileges for its object,
<emphasis>not</emphasis> whatever might be in <structname>pg_default_acl</structname>
at the moment. <structname>pg_default_acl</structname> is only consulted during
object creation.
</span>
他のカタログ内の<acronym class="acronym">ACL</acronym>項目がNULLの場合、その時の<code class="structname">pg_default_acl</code>内のものでは<span class="emphasis"><em>ではなく</em></span>そのオブジェクトの組み込まれたデフォルト権限を表すものが取られます。
<code class="structname">pg_default_acl</code>はオブジェクトの生成時のみに考慮されます。
</p></div><div class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="catalog-pg-db-role-setting.html" title="52.16. pg_db_role_setting">前へ</a> </td><td width="20%" align="center"><a accesskey="u" href="catalogs.html" title="第52章 システムカタログ">上へ</a></td><td width="40%" align="right"> <a accesskey="n" href="catalog-pg-depend.html" title="52.18. pg_depend">次へ</a></td></tr><tr><td width="40%" align="left" valign="top">52.16. <code class="structname">pg_db_role_setting</code> </td><td width="20%" align="center"><a accesskey="h" href="index.html" title="PostgreSQL 18.3文書">ホーム</a></td><td width="40%" align="right" valign="top"> 52.18. <code class="structname">pg_depend</code></td></tr></table></div></body></html>