timing psql internal commands

Started by Andrew Dunstanover 19 years ago2 messages
#1Andrew Dunstan
andrew@dunslane.net

I have just noticed that psql's \timing does not apply to internal
commnds like \copy, which surprised me a bit. Is there any reason why it
should not apply at least in the case of \copy, which after all does
real work, as opposed to to the client housekeeping and info functions
that most psql internal commands perform?

cheers

andrew

#2Bruce Momjian
bruce@momjian.us
In reply to: Andrew Dunstan (#1)
Re: timing psql internal commands

Andrew Dunstan wrote:

I have just noticed that psql's \timing does not apply to internal
commnds like \copy, which surprised me a bit. Is there any reason why it
should not apply at least in the case of \copy, which after all does
real work, as opposed to to the client housekeeping and info functions
that most psql internal commands perform?

Yea, it probably should work for \copy.

--
Bruce Momjian bruce@momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +