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


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


Read the psql man page for more details.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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