For the psostgres user create file in the home folder:
vim ~/.psqlrcand add the following to the file
\timingWhen you connect to database and run a query, the time is also displayed:
postgres=# SELECT current_timestamp;
now
----------------------------------
2014-03-11 10:34:40.378455+05:30
(1 row)
Time: 43.821 ms
No comments:
Post a Comment