Re: implement query_start for pg_stat_activity - Mailing list pgsql-patches

From Tom Lane
Subject Re: implement query_start for pg_stat_activity
Date
Msg-id 3589.1045888896@sss.pgh.pa.us
Whole thread Raw
In response to Re: implement query_start for pg_stat_activity  (Neil Conway <neilc@samurai.com>)
List pgsql-patches
Neil Conway <neilc@samurai.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

pgsql-patches by date:

Previous
From: Tom Lane
Date:
Subject: Re: psql patch
Next
From: "Greg Sabino Mullane"
Date:
Subject: pg_ctl -w port detection