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
Views: Raw Message | Whole Thread | Download mbox | Resend email
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

Browse pgsql-hackers by date

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