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

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 (view raw or flat)
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

pgsql-hackers by date

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

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