Re: [HACKERS] keeping track of connections

Bruce Momjian <maillist@candle.pha.pa.us>

From: Bruce Momjian <maillist@candle.pha.pa.us>
To: scrappy@hub.org (The Hermit Hacker)
Cc: brett@work.chicken.org, pgsql-hackers@hub.org
Date: 1998-06-03T22:16:52Z
Lists: pgsql-hackers
> Here's one for you...and don't laugh at me, eh? :)
> 
> postmaster starts up to listen for connections, and then starts up its own
> backend to handle database queries?  So, on a quiet system, you would have
> two processes running, one postmaster, and one postgres...
> 
> basically, the idea is that postmaster can't talk to a table, only
> postgres can...so, setup postmaster the same way that any other interface
> is setup...connect to a backend and pass its transactions through that
> way...

So have the postmaster use the libpq library to open a database
connection and execute queries.  Sounds interesting.

-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)