3 ms·
This is a really handy list, but misses a few of my favorites. The first is \e to open up your default $EDITOR for the query. In the past I've actually setup s
by craigkerstiens 6y ago
This is a really handy list, but misses a few of my favorites.
The first is \e to open up your default $EDITOR for the query. In the past I've actually setup sublime text to open up my last run query, be able to edit it, close and save and it'll execute. I'd imagine you could do the same with vscode, though I'm currently just configured for vim personally.
The second isn't really psql commands, but that you can setup a psqlrc - https://www.craigkerstiens.com/2013/02/13/how-i-work-with-postgres/ https://www.craigkerstiens.com/2013/02/13/how-i-work-with-po...