[PATCH] psql \n shortcut for set search_path =

Поиск
Список
Период
Сортировка
От Colin 't Hart
Тема [PATCH] psql \n shortcut for set search_path =
Дата
Msg-id CAMon-aQSUr+AdJ0GSL3BX6zf7xyt6b7-63ViyxUvXWspyA2AEw@mail.gmail.com
обсуждение исходный текст
Список pgsql-hackers
Hi,

Attached please find a trivial patch for psql which adds a \n meta command as a shortcut for typing set search_path =.

This allows you to navigate a database very quickly in psql as follows:

\dn

\n my_schema

\d

\d my_table

etc.


Not yet done: updating documentation (psql internal help, psql man page, main documentation).

If this is something that is desired (I hope so as this is something I now use a lot), I will update the documentation and resubmit.


Cheers,

Colin
Вложения

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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: Re: Testing of various opclasses for ranges
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: expression evaluation with expected datatypes