File: infoschema-data-type-privileges.html

package info (click to toggle)
pgadmin3 1.4.3-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 29,796 kB
  • ctags: 10,758
  • sloc: cpp: 55,356; sh: 6,164; ansic: 1,520; makefile: 576; sql: 482; xml: 100; perl: 18
file content (83 lines) | stat: -rw-r--r-- 3,665 bytes parent folder | download
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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>31.12.data_type_privileges</title>
<link rel="stylesheet" href="stylesheet.css" type="text/css">
<link rev="made" href="pgsql-docs@postgresql.org">
<meta name="generator" content="DocBook XSL Stylesheets V1.70.0">
<link rel="start" href="index.html" title="PostgreSQL 8.1.4 Documentation">
<link rel="up" href="information-schema.html" title="Chapter31.The Information Schema">
<link rel="prev" href="infoschema-constraint-table-usage.html" title="31.11.constraint_table_usage">
<link rel="next" href="infoschema-domain-constraints.html" title="31.13.domain_constraints">
<link rel="copyright" href="ln-legalnotice.html" title="Legal Notice">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="sect1" lang="en">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="infoschema-data-type-privileges"></a>31.12.<code class="literal">data_type_privileges</code></h2></div></div></div>
<p>   The view <code class="literal">data_type_privileges</code> identifies all
   data type descriptors that the current user has access to, by way
   of being the owner of the described object or having some privilege
   for it.  A data type descriptor is generated whenever a data type
   is used in the definition of a table column, a domain, or a
   function (as parameter or return type) and stores some information
   about how the data type is used in that instance (for example, the
   declared maximum length, if applicable).  Each data type
   descriptor is assigned an arbitrary identifier that is unique
   among the data type descriptor identifiers assigned for one object
   (table, domain, function).  This view is probably not useful for
   applications, but it is used to define some other views in the
   information schema.
  </p>
<div class="table">
<a name="id694996"></a><p class="title"><b>Table31.10.<code class="literal">data_type_privileges</code> Columns</b></p>
<div class="table-contents"><table summary="data_type_privileges Columns" border="1">
<colgroup>
<col>
<col>
<col>
</colgroup>
<thead><tr>
<th>Name</th>
<th>Data Type</th>
<th>Description</th>
</tr></thead>
<tbody>
<tr>
<td><code class="literal">object_catalog</code></td>
<td><code class="type">sql_identifier</code></td>
<td>Name of the database that contains the described object (always the current database)</td>
</tr>
<tr>
<td><code class="literal">object_schema</code></td>
<td><code class="type">sql_identifier</code></td>
<td>Name of the schema that contains the described object</td>
</tr>
<tr>
<td><code class="literal">object_name</code></td>
<td><code class="type">sql_identifier</code></td>
<td>Name of the described object</td>
</tr>
<tr>
<td><code class="literal">object_type</code></td>
<td><code class="type">character_data</code></td>
<td>       The type of the described object: one of
       <code class="literal">TABLE</code> (the data type descriptor pertains to
       a column of that table), <code class="literal">DOMAIN</code> (the data
       type descriptors pertains to that domain),
       <code class="literal">ROUTINE</code> (the data type descriptor pertains
       to a parameter or the return data type of that function).
      </td>
</tr>
<tr>
<td><code class="literal">dtd_identifier</code></td>
<td><code class="type">sql_identifier</code></td>
<td>       The identifier of the data type descriptor, which is unique
       among the data type descriptors for that same object.
      </td>
</tr>
</tbody>
</table></div>
</div>
<br class="table-break">
</div></body>
</html>