1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-28 23:42:10 +03:00

I just noticed that \dp outputs "Table" to indicate relations (tables,

sequences and views).  This patch allows it to handle views and
sequences.

Euler Taveira de Oliveira
This commit is contained in:
Bruce Momjian
2004-03-22 03:38:24 +00:00
parent a7f0747320
commit 3ceda5eab3
4 changed files with 16 additions and 15 deletions

View File

@ -1,5 +1,5 @@
<!--
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.106 2004/02/13 05:10:02 momjian Exp $
$PostgreSQL: pgsql/doc/src/sgml/ref/psql-ref.sgml,v 1.107 2004/03/22 03:38:24 momjian Exp $
PostgreSQL documentation
-->
@ -995,10 +995,10 @@ testdb=>
<term><literal>\dp</literal> [ <replaceable class="parameter">pattern</replaceable> ]</term>
<listitem>
<para>
Produces a list of all available tables with their
Produces a list of all available tables, views and sequences with their
associated access privileges.
If <replaceable class="parameter">pattern</replaceable> is
specified, only tables whose names match the pattern are listed.
specified, only tables, views and sequences whose names match the pattern are listed.
</para>
<para>
@ -1695,10 +1695,10 @@ lo_import 152801
<term><literal>\z</literal> [ <replaceable class="parameter">pattern</replaceable> ]</term>
<listitem>
<para>
Produces a list of all available tables with their
Produces a list of all available tables, views and sequences with their
associated access privileges.
If a <replaceable class="parameter">pattern</replaceable> is
specified, only tables whose names match the pattern are listed.
specified, only tables,views and sequences whose names match the pattern are listed.
</para>
<para>