3
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
4
<title>31.38.�usage_privileges</title>
5
<link rel="stylesheet" href="stylesheet.css" type="text/css">
6
<link rev="made" href="pgsql-docs@postgresql.org">
7
<meta name="generator" content="DocBook XSL Stylesheets V1.70.0">
8
<link rel="start" href="index.html" title="PostgreSQL 8.1.4 Documentation">
9
<link rel="up" href="information-schema.html" title="Chapter�31.�The Information Schema">
10
<link rel="prev" href="infoschema-triggers.html" title="31.37.�triggers">
11
<link rel="next" href="infoschema-view-column-usage.html" title="31.39.�view_column_usage">
12
<link rel="copyright" href="ln-legalnotice.html" title="Legal Notice">
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="sect1" lang="en">
15
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
16
<a name="infoschema-usage-privileges"></a>31.38.�<code class="literal">usage_privileges</code></h2></div></div></div>
17
<p> The view <code class="literal">usage_privileges</code> is meant to identify
18
<code class="literal">USAGE</code> privileges granted on various kinds of
19
objects to the current user or by the current user. In
20
<span class="productname">PostgreSQL</span>, this currently only applies
21
to domains, and since domains do not have real privileges in
22
<span class="productname">PostgreSQL</span>, this view shows implicit
23
<code class="literal">USAGE</code> privileges granted to
24
<code class="literal">PUBLIC</code> for all domains. In the future, this
25
view may contain more useful information.
28
<a name="id702693"></a><p class="title"><b>Table�31.36.�<code class="literal">usage_privileges</code> Columns</b></p>
29
<div class="table-contents"><table summary="usage_privileges Columns" border="1">
42
<td><code class="literal">grantor</code></td>
43
<td><code class="type">sql_identifier</code></td>
44
<td>Currently set to the name of the owner of the object</td>
47
<td><code class="literal">grantee</code></td>
48
<td><code class="type">sql_identifier</code></td>
49
<td>Currently always <code class="literal">PUBLIC</code>
53
<td><code class="literal">object_catalog</code></td>
54
<td><code class="type">sql_identifier</code></td>
55
<td>Name of the database containing the object (always the current database)</td>
58
<td><code class="literal">object_schema</code></td>
59
<td><code class="type">sql_identifier</code></td>
60
<td>Name of the schema containing the object</td>
63
<td><code class="literal">object_name</code></td>
64
<td><code class="type">sql_identifier</code></td>
65
<td>Name of the object</td>
68
<td><code class="literal">object_type</code></td>
69
<td><code class="type">character_data</code></td>
70
<td>Currently always <code class="literal">DOMAIN</code>
74
<td><code class="literal">privilege_type</code></td>
75
<td><code class="type">character_data</code></td>
76
<td>Always <code class="literal">USAGE</code>
80
<td><code class="literal">is_grantable</code></td>
81
<td><code class="type">character_data</code></td>
82
<td>Currently always <code class="literal">NO</code>
88
<br class="table-break">