News for hackers. Stuff that matters.
Re:“Fashion Is Hard. PostgreSQL Is Easy” [video] by mdemare on Thursday June 18, 2015 @09:27AM (#9738352)
> In psql you can just edit your last command in your $EDITOR.

Cool! How?

Re:“Fashion Is Hard. PostgreSQL Is Easy” [video] by masklinn on Thursday June 18, 2015 @09:41AM (#9738418)
`\e` will edit whatever is in the query buffer (`\p` shows the content of the query buffer)
Re:“Fashion Is Hard. PostgreSQL Is Easy” [video] by turrini on Thursday June 18, 2015 @09:42AM (#9738430)
Just type \e [ENTER]