Re: psql command aliases support
От | Bernd Helmle |
---|---|
Тема | Re: psql command aliases support |
Дата | |
Msg-id | 37156A895CC845E98AB9531D@imhotep.credativ.de обсуждение исходный текст |
Ответ на | Re: psql command aliases support (Gregory Stark <stark@enterprisedb.com>) |
Ответы |
Re: psql command aliases support
|
Список | pgsql-patches |
--On Donnerstag, April 03, 2008 14:36:59 +0100 Gregory Stark <stark@enterprisedb.com> wrote: >> \o foo instead of \i foo -- check your keyboard layout > > The point is here you've typed a different command entirely. > Unsurprisingly it's going to do something different. Uh well, you surely don't know that if you accidently hit o instead of i....one reason more for an alias \output and \input ;) To be serious, i take your point, but i'm under the impression that you simply can't safe the user against all mistakes they are going to make ever. Your concerns apply to every existing alias implementation as well and you aren't safe against decisions of your distributor to add conflicting aliases to their default bashrc as well. -- Thanks Bernd
В списке pgsql-patches по дате отправления: