Hello,
O.k. this is my currently thinking:
\# will list just like \s except it will include line numbers:
1 SELECT * FROM FOO; (not a tab of course)
2 UPDATE bar SET foo = 6;
\# 2 will execute query number 2
\#e 2 will open the numbered query in $EDITOR
I would love to figure out a way to auto explain these queries without
obnoxious syntax. Any ideas?
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