mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Display ACLS using multiple lines for psql's \z. Brendan Jurd.
This commit is contained in:
@ -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>
|
||||
=> \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:
|
||||
|
Reference in New Issue
Block a user