Re: Performance monitor signal handler
Thomas Swan <tswan-lst@ics.olemiss.edu>
From: Thomas Swan <tswan-lst@ics.olemiss.edu>
To: Alfred Perlstein <bright@wintelcom.net>, Philip Warner <pjw@rhyme.com.au>
Cc: Bruce Momjian <pgman@candle.pha.pa.us>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2001-03-13T21:36:59Z
Lists: pgsql-hackers
>On reciept of the info signal, the backends collaborate to piece >together a status file. The status file is given a temporay name. >When complete the status file is rename(2)'d over a well known >file. Reporting to files, particularly well known ones, could lead to race conditions. All in all, I think your better off passing messages through pipes or a similar communication method. I really liked the idea of a "server" that could parse/analyze data from multiple backends. My 2/100 worth...