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

Поиск
Список
Период
Сортировка
От Stephen Frost
Тема Re: proposal or just idea for psql - show first N rows from relation backslash statement
Дата
Msg-id 20130214144139.GY16126@tamriel.snowman.net
обсуждение исходный текст
Ответ на Re: proposal or just idea for psql - show first N rows from relation backslash statement  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: proposal or just idea for psql - show first N rows from relation backslash statement  (Pavel Stehule <pavel.stehule@gmail.com>)
Список pgsql-hackers
* Pavel Stehule (pavel.stehule@gmail.com) wrote:
> it is not true

It most certainly is true- did you look at the command?

SELECT top10('foo');

Note that it's "top10", implying that it'd return the first 10 records.
That's only 2 characters more than:

CALL top10('foo');

It's not as short as '\vt foo', but I never claimed that it was, nor do
I feel it's particularly valuable to shorten it down to that level.
Thanks,
    Stephen

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Pavel Stehule
Дата:
Сообщение: Re: proposal or just idea for psql - show first N rows from relation backslash statement
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: proposal or just idea for psql - show first N rows from relation backslash statement