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

From Bruce Momjian
Subject Re: [HACKERS] keeping track of connections
Date
Msg-id 199806032216.SAA19555@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] keeping track of connections  (The Hermit Hacker <scrappy@hub.org>)
List 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)

pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] keeping track of connections
Next
From: Brett McCormick
Date:
Subject: Re: [HACKERS] keeping track of connections