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
|
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>42.45.pg_user</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="catalogs.html" title="Chapter42.System Catalogs">
<link rel="prev" href="view-pg-tables.html" title="42.44.pg_tables">
<link rel="next" href="view-pg-views.html" title="42.46.pg_views">
<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="view-pg-user"></a>42.45.<code class="structname">pg_user</code></h2></div></div></div>
<a name="id833523"></a><p> The view <code class="structname">pg_user</code> provides access to
information about database users. This is simply a publicly
readable view of
<a href="view-pg-shadow.html" title="42.42.pg_shadow"><code class="structname">pg_shadow</code></a>
that blanks out the password field.
</p>
<div class="table">
<a name="id833551"></a><p class="title"><b>Table42.45.<code class="structname">pg_user</code> Columns</b></p>
<div class="table-contents"><table summary="pg_user Columns" border="1">
<colgroup>
<col>
<col>
<col>
<col>
</colgroup>
<thead><tr>
<th>Name</th>
<th>Type</th>
<th>References</th>
<th>Description</th>
</tr></thead>
<tbody>
<tr>
<td><code class="structfield">usename</code></td>
<td><code class="type">name</code></td>
<td></td>
<td>User name</td>
</tr>
<tr>
<td><code class="structfield">usesysid</code></td>
<td><code class="type">int4</code></td>
<td></td>
<td>User ID (arbitrary number used to reference this user)</td>
</tr>
<tr>
<td><code class="structfield">usecreatedb</code></td>
<td><code class="type">bool</code></td>
<td></td>
<td>User may create databases</td>
</tr>
<tr>
<td><code class="structfield">usesuper</code></td>
<td><code class="type">bool</code></td>
<td></td>
<td>User is a superuser</td>
</tr>
<tr>
<td><code class="structfield">usecatupd</code></td>
<td><code class="type">bool</code></td>
<td></td>
<td> User may update system catalogs. (Even a superuser may not do
this unless this column is true.)
</td>
</tr>
<tr>
<td><code class="structfield">passwd</code></td>
<td><code class="type">text</code></td>
<td></td>
<td>Not the password (always reads as <code class="literal">********</code>)</td>
</tr>
<tr>
<td><code class="structfield">valuntil</code></td>
<td><code class="type">abstime</code></td>
<td></td>
<td>Password expiry time (only used for password authentication)</td>
</tr>
<tr>
<td><code class="structfield">useconfig</code></td>
<td><code class="type">text[]</code></td>
<td></td>
<td>Session defaults for run-time configuration variables</td>
</tr>
</tbody>
</table></div>
</div>
<br class="table-break">
</div></body>
</html>
|