Re: Performance features the 4th
Jan Wieck <janwieck@yahoo.com>
From: Jan Wieck <JanWieck@Yahoo.com>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2003-11-05T20:49:54Z
Lists: pgsql-hackers
Andrew Dunstan wrote: > Jan Wieck wrote: > >> >> How portable is getrusage()? Could the postmaster issue that >> frequently for RUSAGE_CHILDREN and leave the result somewhere in the >> shared memory for whoever is concerned? >> > SVr4, BSD4.3, SUS2 and POSIX1003.1, I believe. > > I also believe there is a M$ dll available that gives that functionality > (psapi.dll). Remains the question when it is updated, the manpage doesn't tell. If the RUSAGE_CHILDREN information is updated only when the child exits, each backend has to do it. Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com #