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

Поиск
Список
Период
Сортировка
От Pavel Stehule
Тема proposal or just idea for psql - show first N rows from relation backslash statement
Дата
Msg-id CAFj8pRCeE5TzW-2WcCHpJtf1CbPQ4E_PauLW1x9QS7MWgxn-Pg@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  (Fabrízio de Royes Mello <fabriziomello@gmail.com>)
Список pgsql-hackers
Hello

probably one from my top ten SQL statement will be

SELECT * FROM some_relation LIMIT 10

what do you thinking about creating special statement for this purpose?

possible syntax

-- ViewTable
\vt table_name [rows]

or

\sample table_name [rows]

a implementation with autocomplete is terrible simple

Regards

Pavel



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: 9.2.3 crashes during archive recovery
Следующее
От: Kevin Grittner
Дата:
Сообщение: Re: Alias hstore's ? to ~ so that it works with JDBC