Tom Lane wrote: > "Eric Crampton" <[EMAIL PROTECTED]> writes: > > I noticed in the TODO that there is an item requesting a function which > > returns the uptime of the postmaster. I've wanted that as well. So, I've > > added just such a thing: server_start_time(). This function returns the > > time when the postmaster was started; a simple now() - server_start_time() > > returns the uptime. > > Isn't there one of these in the patch queue already?
Yes. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073 ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org