Re: [GENERAL] Using readline for frequently used queries

2010-03-28 Thread Tim Landscheidt
I wrote: > depending on the database, I use some "dashboard queries" > rather frequently. To ease executing them, I've put: > | $include /etc/inputrc > | $if psql > | "\e[24~": "\fSELECT * FROM DashboardQuery;\n" > | $endif > in my ~/.inputrc ("\e[24~" is [F12]). > Obviously, this only works

[GENERAL] Using readline for frequently used queries

2010-03-26 Thread Tim Landscheidt
Hi, depending on the database, I use some "dashboard queries" rather frequently. To ease executing them, I've put: | $include /etc/inputrc | $if psql | "\e[24~": "\fSELECT * FROM DashboardQuery;\n" | $endif in my ~/.inputrc ("\e[24~" is [F12]). Obviously, this only works if a) the current li