Re: [GENERAL] fork() bad

1999-03-22 Thread Richi Plana
Hi, Herouth. On Mon, 22 Mar 1999, Herouth Maoz wrote: |o| > As some of you may know, I'm hacking Ascend RADIUS 2.01 to look up a |o| > PostgreSQL database for authentication and log to PG for accounting. |o| > Normally, RADIUS fork()s once for Accounting and fork()s for each |o| > Authentication

Re: [GENERAL] fork() bad

1999-03-22 Thread Gerard Saraber
Hello, Richi Plana wrote: > > Hi, > [ previous discussion snipped ] > > Looks like the general consensus is fork()ing is a bad thing where > PostgreSQL is concerned. So what I did was refrained from opening a > connection to the backend until AFTER the process fork()ed. > > As some of you ma

Re: [GENERAL] fork() bad

1999-03-22 Thread Herouth Maoz
At 17:48 +0200 on 22/03/1999, Richi Plana wrote: > As some of you may know, I'm hacking Ascend RADIUS 2.01 to look up a > PostgreSQL database for authentication and log to PG for accounting. > Normally, RADIUS fork()s once for Accounting and fork()s for each > Authentication request. That's a lo

Re: [GENERAL] fork() bad

1999-03-22 Thread Richi Plana
Hi, On Mon, 22 Mar 1999, M Simms wrote: |o| > My process establishes a connection with a PostgreSQL backen and then |o| > fork()s (twice, actually). To make things even more complicated (though I |o| > don't know if it affects things), my connection handle is a global |o| > variable in a dynamic

Re: [GENERAL] fork() bad

1999-03-22 Thread M Simms
> > Hi, > > I'm probably doing something wrong here. > > My process establishes a connection with a PostgreSQL backen and then > fork()s (twice, actually). To make things even more complicated (though I > don't know if it affects things), my connection handle is a global > variable in a dynamic