summaryrefslogtreecommitdiff
path: root/doc/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2008-05-05 01:21:03 +0000
committerAndrew Dunstan <andrew@dunslane.net>2008-05-05 01:21:03 +0000
commita87f15d50696aae8d17adddeec6b6ee7c07aeb05 (patch)
tree6585d77d5252d163e417d184637eaca0bd207f86 /doc/src
parentc0b1b01ef54f2d4891af8c3c611bc3c4ee0440c4 (diff)
Display ACLS using multiple lines for psql's \z. Brendan Jurd.
Diffstat (limited to 'doc/src')
-rw-r--r--doc/src/sgml/ref/grant.sgml12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/src/sgml/ref/grant.sgml b/doc/src/sgml/ref/grant.sgml
index 02941fc9cde..7b1295f9eb6 100644
--- a/doc/src/sgml/ref/grant.sgml
+++ b/doc/src/sgml/ref/grant.sgml
@@ -1,5 +1,5 @@
<!--
-$PostgreSQL: pgsql/doc/src/sgml/ref/grant.sgml,v 1.67 2007/10/30 19:43:30 tgl Exp $
+$PostgreSQL: pgsql/doc/src/sgml/ref/grant.sgml,v 1.68 2008/05/05 01:21:03 adunstan Exp $
PostgreSQL documentation
-->
@@ -405,10 +405,12 @@ GRANT <replaceable class="PARAMETER">role</replaceable> [, ...] TO <replaceable
to obtain information about existing privileges, for example:
<programlisting>
=&gt; \z mytable
- Access privileges for database "lusitania"
- Schema | Name | Type | Access privileges
---------+---------+-------+---------------------------------------------------
- public | mytable | table | {miriam=arwdxt/miriam,=r/miriam,admin=arw/miriam}
+ Access privileges for database "lusitania"
+ Schema | Name | Type | Access privileges
+--------+---------+-------+----------------------
+ public | mytable | table | miriam=arwdxt/miriam
+ : =r/miriam
+ : admin=arw/miriam
(1 row)
</programlisting>
The entries shown by <command>\z</command> are interpreted thus: