~ubuntu-branches/debian/squeeze/pgadmin3/squeeze

« back to all changes in this revision

Viewing changes to docs/en_US/pg/infoschema-usage-privileges.html

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Porcheron
  • Date: 2008-02-07 00:56:22 UTC
  • mto: (2.1.6 hardy) (6.1.2 sid)
  • mto: This revision was merged to the branch mainline in revision 4.
  • Revision ID: james.westby@ubuntu.com-20080207005622-c2ail8p4d0sk3dnw
Tags: upstream-1.8.2
Import upstream version 1.8.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<html>
2
 
<head>
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">
13
 
</head>
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.
26
 
  </p>
27
 
<div class="table">
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">
30
 
<colgroup>
31
 
<col>
32
 
<col>
33
 
<col>
34
 
</colgroup>
35
 
<thead><tr>
36
 
<th>Name</th>
37
 
<th>Data Type</th>
38
 
<th>Description</th>
39
 
</tr></thead>
40
 
<tbody>
41
 
<tr>
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>
45
 
</tr>
46
 
<tr>
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>
50
 
</td>
51
 
</tr>
52
 
<tr>
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>
56
 
</tr>
57
 
<tr>
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>
61
 
</tr>
62
 
<tr>
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>
66
 
</tr>
67
 
<tr>
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>
71
 
</td>
72
 
</tr>
73
 
<tr>
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>
77
 
</td>
78
 
</tr>
79
 
<tr>
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>
83
 
</td>
84
 
</tr>
85
 
</tbody>
86
 
</table></div>
87
 
</div>
88
 
<br class="table-break">
89
 
</div></body>
90
 
</html>