Top 10 Greatest Concert Fims »
« Most Unfortunately Named Athletes
Top ten SQL commands using psql
April 17th, 2008 | by Referral Site |
"Inspired by the old meme about the top shell commands, I thought I’d see what the most common SQL commands I run are. When you are using psql, (the command-line interface to Postgres), it keeps a history of all the commands you enter inside the file ~/.psql_history. It only keeps 500 lines by default, which I find way too low, so I adjust it by setting the HISTFILE variable. Here’s the usual contents of my .psqlrc file:"