4 ms·
A good tutorial for a tool I use every day. I'd add a couple of things: 1. Up/down arrows to scroll through command history 2. \timing will show the execution
by cgh 6y ago
A good tutorial for a tool I use every day. I'd add a couple of things:
1. Up/down arrows to scroll through command history
2. \timing will show the execution time of sql commands
3. \watch N allows you to repeat commands every N seconds, very handy in certain situations
- tomcam 6y agoThanks a ton. I have added sections for all of them. Up/down errors: https://github.com/tomcam/postgres#scrolling-through-the-command-history https://github.com/tomcam/postgres#scrolling-through-the-com... \timing: https://github.com/tomcam/postgres#timing https://github.com/tomcam/postgres#timing \tWatch https://github.com/tomcam/postgres#watch https://github.com/tomcam/postgres#watch