Re: [HACKERS] keeping track of connections

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: scrappy(at)hub(dot)org (The Hermit Hacker)
Cc: brett(at)work(dot)chicken(dot)org, pgsql-hackers(at)hub(dot)org
Subject: Re: [HACKERS] keeping track of connections
Date: 1998-06-03 22:16:52
Message-ID: 199806032216.SAA19555@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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(at)candle(dot)pha(dot)pa(dot)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)

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Brett McCormick 1998-06-03 23:50:28 Re: [HACKERS] keeping track of connections
Previous Message The Hermit Hacker 1998-06-03 21:52:33 Re: [HACKERS] keeping track of connections