Re: \d+ for long view definitions?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Peter Eisentraut <peter_e(at)gmx(dot)net>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: \d+ for long view definitions?
Date: 2009-08-30 22:43:51
Message-ID: 2170.1251672231@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Peter Eisentraut <peter_e(at)gmx(dot)net> writes:
> Using \d on, say, information schema views is completely hilarious
> because the column name/data type information is usually scrolled off
> the screen by the immense view definition.

> Could we change this perhaps so that the full view definition is only
> shown with \d+ when the view definition is longer than N characters or N
> lines or some other suitable cutoff. Ideas?

The same complaint could be made for any table with more than
twenty-some columns. Seems like a more general answer would be
for \d output to go through the pager ...

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Alvaro Herrera 2009-08-31 00:04:39 Re: \d+ for long view definitions?
Previous Message Peter Eisentraut 2009-08-30 21:02:41 \d+ for long view definitions?