Обсуждение: timing psql internal commands

Поиск
Список
Период
Сортировка

timing psql internal commands

От
Andrew Dunstan
Дата:
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


Re: timing psql internal commands

От
Bruce Momjian
Дата:
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. +