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

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема Re: proposal or just idea for psql - show first N rows from relation backslash statement
Дата
Msg-id CAFj8pRBPCdso6Q80B8_AHNGWKBpwpDNiu3exCVgsPvxJc6yEKg@mail.gmail.com
обсуждение исходный текст
Ответ на Re: proposal or just idea for psql - show first N rows from relation backslash statement  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: proposal or just idea for psql - show first N rows from relation backslash statement  (Stephen Frost <sfrost@snowman.net>)
Re: proposal or just idea for psql - show first N rows from relation backslash statement  (Alvaro Herrera <alvherre@2ndquadrant.com>)
Список pgsql-hackers
2013/2/14 Stephen Frost <sfrost@snowman.net>:
> * Merlin Moncure (mmoncure@gmail.com) wrote:
>> CALL top10('foo');
>>
>> which seems more general and just as terse.  So I think implementing
>> call syntax is probably topping my 'wanted feature' list.
>
> We have that, it's called 'SELECT' and it's only 2 more characters..

it is not true

SELECT * FROM foo LIMIT 10 -- 26 chars

CALL top('foo') -- 15 chars

\vt foo -- 7 chars

Regards

Pavel

>
>         Thanks,
>
>                 Stephen



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: 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