I work with PostgreSQL in the command line interface. I would like to activate a \timing command permanently for every database in the cluster so every time I connect to a database - this parameter is on. I searched in postgresql.conf file, but I haven't found anything like what I want to switch on.
My PostgreSQL is 9.5.4 on x86_64 Ubuntu 16.04.2.
psqlsessions, run this in your shell (note the double backslash):echo '\\timing on' >> ~/.psqlrc– Timur Shtatland Apr 25 '23 at 20:02