Re: psql command aliases support
От | Gregory Stark |
---|---|
Тема | Re: psql command aliases support |
Дата | |
Msg-id | 87d4p7s1p3.fsf@oxford.xeocode.com обсуждение исходный текст |
Ответ на | Re: psql command aliases support (Bernd Helmle <mailings@oopsware.de>) |
Ответы |
Re: psql command aliases support
|
Список | pgsql-patches |
"Bernd Helmle" <mailings@oopsware.de> writes: >> Picture a newbie typoing on their \old alias and trying to figure out >> where all their data is going... Hopefully they weren't too attached to >> whatever was in their "ldd" file yesterday. > > Of course, the patch doesn't work this way. Only complete tokens delivered by > the parser are substituted, illustrated here with your example: To be more explicit what I meant was someone doing #= \alias old select version(); ... #= \oldd <oops> #= \old #= select 'where is all my output going?' #= select 'what happened to my ldd file?' -- Gregory Stark EnterpriseDB http://www.enterprisedb.com Ask me about EnterpriseDB's RemoteDBA services!
В списке pgsql-patches по дате отправления: