uptime() for postmaster - Mailing list pgsql-hackers

From Matthias Schmidt
Subject uptime() for postmaster
Date
Msg-id BFC8525A-5B2C-11D9-879A-000393AA75A0@mock-software.de
Whole thread Raw
Responses Re: uptime() for postmaster
List pgsql-hackers
Hi Bruce,

I started to work on the uptime() for the postmaster yesterday. A 
couple of questions:

a) is the name uptime() OK?

b) is the return-type 'Interval' OK?

c) does it make sense (... fit in the scheme?) to place the code here:    src/backend/utils/misc/uptime.c

d) Can I piggy-back on 'BackendParameters' to get postmasters 
start-time to the backends?

happy new year,

Matthias


----------------------------------------------------------------------
Matthias Schmidt
Viehtriftstr. 49

67346 Speyer

Tel.: +49 6232 4867
Fax.: +49 6232 640089



pgsql-hackers by date:

Previous
From: Simon Riggs
Date:
Subject: Re: RC3 in ... ~12 hours ...
Next
From: Michael Wildpaner
Date:
Subject: 'COPY ... FROM' inserts to btree, blocks on buffer writeout