uptime() for postmaster

From: Matthias Schmidt <schmidtm(at)mock-software(dot)de>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: uptime() for postmaster
Date: 2004-12-31 13:06:13
Message-ID: BFC8525A-5B2C-11D9-879A-000393AA75A0@mock-software.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Michael Wildpaner 2004-12-31 18:04:31 'COPY ... FROM' inserts to btree, blocks on buffer writeout
Previous Message Simon Riggs 2004-12-31 11:53:23 Re: RC3 in ... ~12 hours ...