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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: proposal or just idea for psql - show first N rows from relation backslash statement
Дата
Msg-id 23156.1360860593@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: proposal or just idea for psql - show first N rows from relation backslash statement  (Stephen Frost <sfrost@snowman.net>)
Список 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 по дате отправления:

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: BUG #7493: Postmaster messages unreadable in a Windows console
Следующее
От: Robert Haas
Дата:
Сообщение: Re: [RFC] pgstattuple/pgstatindex enhancement