Re: proposal or just idea for psql - show first N rows from relation backslash statement

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Erik Rijkers <er(at)xs4all(dot)nl>, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: proposal or just idea for psql - show first N rows from relation backslash statement
Date: 2013-02-13 20:48:00
Message-ID: CAFj8pRA-FV80eNfeYGMaBhwp76tywaS8br5YFW1Bu6_pk3sPZA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

2013/2/13 Stephen Frost <sfrost(at)snowman(dot)net>:
> * Erik Rijkers (er(at)xs4all(dot)nl) wrote:
>> No need; that already does work, e.g.:
>>
>> testdb=# table pg_database limit 3;
>
> Oh.
>
>> Not in the documentation, but I hope it won't get removed -- it's quite handy
>
> Perhaps we should add it. :)

my proposal is little but shorter

just

\vt table

and I expect so limit 10 is default

table statement is little bit different creature (and mainly it is server side)

Regards

Pavel

>
> Thanks!
>
> Stephen

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Stephen Frost 2013-02-13 20:51:00 Re: proposal or just idea for psql - show first N rows from relation backslash statement
Previous Message Stephen Frost 2013-02-13 20:44:24 Re: proposal or just idea for psql - show first N rows from relation backslash statement