psql possible TODO
От | Joshua D. Drake |
---|---|
Тема | psql possible TODO |
Дата | |
Msg-id | 1165350347.31648.40.camel@localhost.localdomain обсуждение исходный текст |
Ответы |
Re: psql possible TODO
|
Список | pgsql-hackers |
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
В списке pgsql-hackers по дате отправления: