Hello,
A reasonable simple feature we were thinking about sponsoring was an
addition to psql. Currently if you perform a \s within psql it gives
you the query buffer. My suggestion is that \s give us a execution
number, similar to bash. Thus at a psql prompt we could do:
foo=> !76
And it would execute whatever query was number 76. Secondly:
foo=> !!76
Would execute an explain on whatever query was 76. Lastly:
foo=> !@76
Would execute an explain analyze within a transaction and a rollback (so
we could do updates/deletes).
I am of course open to other thoughts but it certainly seems like a nice
shortcut.
Sincerely,
Joshua D. Drake
--
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997 http://www.commandprompt.com/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate