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

Поиск
Список
Период
Сортировка
От Erik Rijkers
Тема Re: proposal or just idea for psql - show first N rows from relation backslash statement
Дата
Msg-id 2417d015e66a3a7921d385aecfd0f57c.squirrel@webmail.xs4all.nl
обсуждение исходный текст
Ответ на 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>)
Список pgsql-hackers
On Wed, February 13, 2013 21:23, Stephen Frost wrote:
> * Pavel Stehule (pavel.stehule@gmail.com) wrote:
>> SELECT * FROM some_relation LIMIT 10
>>
>> what do you thinking about creating special statement for this purpose?
>
> I'd rather extend TABLE to support a limit clause or something.
>

No need; that already does work, e.g.:

testdb=# table pg_database limit 3;

Not in the documentation, but I hope it won't get removed -- it's quite handy






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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Alias hstore's ? to ~ so that it works with JDBC
Следующее
От: Stephen Frost
Дата:
Сообщение: Re: proposal or just idea for psql - show first N rows from relation backslash statement