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

From Pavel Stehule
Subject Re: proposal or just idea for psql - show first N rows from relation backslash statement
Date
Msg-id CAFj8pRA-FV80eNfeYGMaBhwp76tywaS8br5YFW1Bu6_pk3sPZA@mail.gmail.com
Whole thread Raw
In response to Re: proposal or just idea for psql - show first N rows from relation backslash statement  (Stephen Frost <sfrost@snowman.net>)
Responses Re: proposal or just idea for psql - show first N rows from relation backslash statement
List pgsql-hackers
2013/2/13 Stephen Frost <sfrost@snowman.net>:
> * Erik Rijkers (er@xs4all.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



pgsql-hackers by date:

Previous
From: Stephen Frost
Date:
Subject: Re: proposal or just idea for psql - show first N rows from relation backslash statement
Next
From: Stephen Frost
Date:
Subject: Re: proposal or just idea for psql - show first N rows from relation backslash statement