Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

Re: \d+ for long view definitions?


  • From: Josh Berkus <josh(at)agliodbs(dot)com>
  • To: Peter Eisentraut <peter_e(at)gmx(dot)net>
  • Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
  • Subject: Re: \d+ for long view definitions?
  • Date: Sat, 31 Oct 2009 10:37:24 -0700
  • Message-id: <4AEC75D4.1010605@agliodbs.com> <text/plain>

> diff --git a/src/bin/psql/describe.c b/src/bin/psql/describe.c
> --- a/src/bin/psql/describe.c
> +++ b/src/bin/psql/describe.c
> @@ -1306,7 +1306,7 @@ describeOneTableDetails(const char *schemaname,
>         printTableAddHeader(&cont, headers[i], true, 'l');
> 
>     /* Check if table is a view */
> -   if (tableinfo.relkind == 'v')
> +   if (tableinfo.relkind == 'v' && verbose)
>     {
>         PGresult   *result;
> 
> Any final words?

Thanks?

--Josh Berkus




Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group