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

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: 2009-10-31 17:37:24
Message-ID: 4AEC75D4.1010605@agliodbs.com (view raw or flat)
Thread:
Lists: pgsql-hackers
> 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


In response to

pgsql-hackers by date

Next:From: Roger LeighDate: 2009-10-31 18:14:30
Subject: Re: Unicode UTF-8 table formatting for psql text output
Previous:From: John MurtariDate: 2009-10-31 17:37:19
Subject: Re: Patch set under development to add usage reporting.

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group