Re: psql slash command '\G'
От | Bernhard Herzog |
---|---|
Тема | Re: psql slash command '\G' |
Дата | |
Msg-id | 6qofhbtyi2.fsf@abnoba.intevation.de обсуждение исходный текст |
Ответ на | Re: psql slash command '\G' (Ian Barwick <barwick@gmx.net>) |
Ответы |
Re: psql slash command '\G'
|
Список | pgsql-patches |
Ian Barwick <barwick@gmx.net> writes: > Peter Eisentraut writes: > > Propose a macro processor. > > Why? What do you envisage? What advantages would this, and presumably the fair > amount of additional and / or re-coding associated, have for me (or anyone > else) compared to a more specific solution as suggested below? If you've compiled psql with readline you could just use readline's macro system. With e.g. $if Psql "\M-g": "\\x\\g\\x" $endif in your .inputrc, Meta-g would expand to \x\g\x Bernhard -- Intevation GmbH http://intevation.de/ Sketch http://sketch.sourceforge.net/ MapIt! http://www.mapit.de/
В списке pgsql-patches по дате отправления: