""Ed L."" <pgsql(at)bluepolka(dot)net> writes
> How are others handling this problem? Other ideas?
>
In your client, you will measure the libpq/odbc/jdbc or whatever call's
completion time and send the interesting parts to your log database. And
just make sure the tested database and the log database are in separate
machines - so they won't bother each other.
Regards,
Qingqing