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

From Tom Lane
Subject Re: proposal or just idea for psql - show first N rows from relation backslash statement
Date
Msg-id 23156.1360860593@sss.pgh.pa.us
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>)
List pgsql-hackers
Stephen Frost <sfrost@snowman.net> writes:
> This discussion isn't going to change my feelings on this particular
> misfeature.  If others feel it's valuable and important then they can
> certainly speak-up.

I think the same --- a new backslash command for this is absolutely not
worth its weight compared to using "TABLE foo".

We have identified at least two places where psql could be improved to
support the use of "TABLE foo" better, without adding any new syntax
(viz, teach the FETCH_COUNT logic about it and improve tab-completion
to know about the possibility of limit/offset clauses).  I think that's
a much more sensible path to pursue than inventing more "features".
        regards, tom lane



pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: BUG #7493: Postmaster messages unreadable in a Windows console
Next
From: Robert Haas
Date:
Subject: Re: [RFC] pgstattuple/pgstatindex enhancement