psql tab completion for SELECT

Поиск
Список
Период
Сортировка
От Peter Eisentraut
Тема psql tab completion for SELECT
Дата
Msg-id 1328820579.11241.4.camel@vanquo.pezone.net
обсуждение исходный текст
Ответы Re: psql tab completion for SELECT  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Re: psql tab completion for SELECT  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
In his blog entry http://www.depesz.com/2011/07/08/wish-list-for-psql/
depesz described a simple way to do tab completion for SELECT in psql:

"""
Make tab-completion complete also function names – like: SELECT
pg_get<tab><tab> to see all functions that start with pg_get.

Make tab-completion work for columns in SELECT. I know that when writing
SELECT clause, psql doesn’t know which table it will deal with, but it
could search through all the columns in database.
"""

That seems pretty useful, and it's more or less a one-line change, as in
the attached patch.


Вложения

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

Предыдущее
От: Jay Levitt
Дата:
Сообщение: Re: Bugs/slowness inserting and indexing cubes
Следующее
От: Marti Raudsepp
Дата:
Сообщение: RFC: Making TRUNCATE more "MVCC-safe"