From 3ceda5eab3dfc72fac991413331fee306940b537 Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Mon, 22 Mar 2004 03:38:24 +0000 Subject: 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 --- doc/src/sgml/ref/grant.sgml | 10 +++++----- doc/src/sgml/ref/psql-ref.sgml | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) (limited to 'doc/src') diff --git a/doc/src/sgml/ref/grant.sgml b/doc/src/sgml/ref/grant.sgml index e39b925c5da..59b0d8148e7 100644 --- a/doc/src/sgml/ref/grant.sgml +++ b/doc/src/sgml/ref/grant.sgml @@ -1,5 +1,5 @@ @@ -285,10 +285,10 @@ GRANT { { CREATE | USAGE } [,...] | ALL [ PRIVILEGES ] } => \z mytable - Access privileges for database "lusitania" - Schema | Table | Access privileges ---------+---------+--------------------------------------- - public | mytable | {=r/postgres,miriam=arwdRxt/postgres,"group todos=arw/postgres"} + Access privileges for database "lusitania" + Schema | Name | Type | Access privileges +--------+---------+-------+----------------------------------------------------------------- + public | mytable | table | {=r/postgres,miriam=arwdRxt/postgres,"group todos=arw/postgres"} (1 row) The entries shown by \z are interpreted thus: diff --git a/doc/src/sgml/ref/psql-ref.sgml b/doc/src/sgml/ref/psql-ref.sgml index c9f0278ec90..e996bd6e428 100644 --- a/doc/src/sgml/ref/psql-ref.sgml +++ b/doc/src/sgml/ref/psql-ref.sgml @@ -1,5 +1,5 @@ @@ -995,10 +995,10 @@ testdb=> \dp [ pattern ] - 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 pattern is - specified, only tables whose names match the pattern are listed. + specified, only tables, views and sequences whose names match the pattern are listed. @@ -1695,10 +1695,10 @@ lo_import 152801 \z [ pattern ] - 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 pattern is - specified, only tables whose names match the pattern are listed. + specified, only tables,views and sequences whose names match the pattern are listed. -- cgit v1.2.3