Re: psql command aliases support

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: psql command aliases support
Дата
Msg-id 3652.1207064399@sss.pgh.pa.us
обсуждение исходный текст
Ответ на psql command aliases support  (Bernd Helmle <mailings@oopsware.de>)
Ответы Re: psql command aliases support  (Peter Eisentraut <peter_e@gmx.net>)
Re: psql command aliases support  (Bernd Helmle <mailings@oopsware.de>)
Список pgsql-patches
Bernd Helmle <mailings@oopsware.de> writes:
> please find attached a patch which implements psql command aliases. They
> work the same way as on bash, zsh and others, for example:

> #= \alias d \dt+
> #= \d

Do we really want such a thing?  The space of backslash command names
is so densely populated already that it's hard to imagine creating
aliases without conflicting with existing (or future) command names
--- as indeed your example does.  It seems like mostly a recipe for
confusion.

            regards, tom lane

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

Предыдущее
От: tomas@tuxteam.de
Дата:
Сообщение: Re: [HACKERS] Avahi support for Postgresql
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: psql command aliases support