pgsql: Use setitimer() for stats file write, rather than do a

From: momjian(at)postgresql(dot)org (Bruce Momjian)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use setitimer() for stats file write, rather than do a
Date: 2006-01-03 16:42:17
Message-ID: 20060103164217.D96989DC98D@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Use setitimer() for stats file write, rather than do a gettimeofday()
call for every stats packet read to adjust select() timeout. Other
stylistic improvements.

Modified Files:
--------------
pgsql/src/backend/postmaster:
pgstat.c (r1.116 -> r1.117)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/pgstat.c.diff?r1=1.116&r2=1.117)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2006-01-03 19:54:08 pgsql: Assume select() might modify struct timeout, so remove previous
Previous Message User T-ishii 2006-01-03 03:33:10 pgpool - pgpool: version 2.7 - add child_max_connections.