Re: [HACKERS] keeping track of connections

Brett McCormick <brett@work.chicken.org>

From: Brett McCormick <brett@work.chicken.org>
To: Bruce Momjian <maillist@candle.pha.pa.us>
Cc: pgsql-hackers@hub.org
Date: 1998-06-03T06:19:03Z
Lists: pgsql-hackers
On Wed, 3 June 1998, at 00:11:01, Bruce Momjian wrote:

> Good question.  Postmaster does not have access to the system tables, so
> it can't access them.  You could add a debug option to show it in the
> server logs, or add it to the -d2 debug option that already shows SQL
> statements.

How about something like this: a pool of shared memory where this
information is stored, and then a view which calls a set of functions
to return the information from the shared memory?

Apache does something similar.