Обсуждение: pgsql: Use setitimer() for stats file write, rather than do a

Поиск
Список
Период
Сортировка

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

От
momjian@postgresql.org (Bruce Momjian)
Дата:
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)