Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> In psql you can just edit your last command in your $EDITOR.

Cool! How?



`\e` will edit whatever is in the query buffer (`\p` shows the content of the query buffer)


Just type \e [ENTER]




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: