13

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

Flimzy
  • 2,472
lanrat
  • 747

1 Answers1

22

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

\timing

Read the psql man page for more details.

Flimzy
  • 2,472