Re: implement query_start for pg_stat_activity

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Neil Conway <neilc(at)samurai(dot)com>
Cc: PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org>
Subject: Re: implement query_start for pg_stat_activity
Date: 2003-02-22 04:41:36
Message-ID: 3589.1045888896@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

Neil Conway <neilc(at)samurai(dot)com> writes:
> - change the method of finding the current date & time -- it's still an
> ugly hack, although arguably less so. Now we do:

Can't we push that into some subroutine exported by one of the
datetime-related utils/adt files? It seems a bad idea for pgstatfuncs.c
to get so cozy with the internal representation of some other module's
datatype.

regards, tom lane

In response to

Browse pgsql-patches by date

  From Date Subject
Next Message Greg Sabino Mullane 2003-02-22 14:57:47 pg_ctl -w port detection
Previous Message Tom Lane 2003-02-22 02:44:27 Re: psql patch