I'm using the psql client on a linux machine, and I always want timing to be on. Is there a config file or setting somewhere to do this? I am currently always starting my session with: \timing

link|improve this question

feedback

1 Answer

up vote 4 down vote accepted

Create a file called ~/.psqlrc and add the line:

\timing

Read the psql man page for more details.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.