Re: [HACKERS] keeping track of connections - Mailing list pgsql-hackers

From Brett McCormick
Subject Re: [HACKERS] keeping track of connections
Date
Msg-id 13684.60119.735931.911727@web0.speakeasy.org
Whole thread Raw
In response to Re: [HACKERS] keeping track of connections  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] keeping track of connections
Re: [HACKERS] keeping track of connections
List 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.

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] dump/reload
Next
From: dg@illustra.com (David Gould)
Date:
Subject: Re: [HACKERS] regular expressions from hell