Re: [PATCH] psql \n shortcut for set search_path =

Поиск
Список
Период
Сортировка
От Josh Kupershmidt
Тема Re: [PATCH] psql \n shortcut for set search_path =
Дата
Msg-id CAK3UJRFE5FyrjAREOFVD=R6Dx6Dfm8N-w=dNJJiUyhyUxHAX8g@mail.gmail.com
обсуждение исходный текст
Ответ на [PATCH] psql \n shortcut for set search_path =  ("Colin 't Hart" <colin@sharpheart.org>)
Ответы Re: [PATCH] psql \n shortcut for set search_path =  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, Jul 10, 2012 at 2:09 AM, Colin 't Hart <colin@sharpheart.org> wrote:
> Attached please find a trivial patch for psql which adds a \n meta command
> as a shortcut for typing set search_path =.

I think the use-case is a bit narrow: saving a few characters typing
on a command not everyone uses very often (I don't), at the expense of
adding yet another command to remember. Plus it opens the floodgates
to people wanting yet more separate commands for other possibly
commonly-used SET commands. There are a lot of GUCs, after all, even
counting only those changeable at runtime.

Josh


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: expression evaluation with expected datatypes
Следующее
От: Alvaro Herrera
Дата:
Сообщение: Re: expression evaluation with expected datatypes