Re: pgsql/src backend/libpq/auth.c backend/postmas ...

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: <pgsql-committers(at)postgresql(dot)org>
Subject: Re: pgsql/src backend/libpq/auth.c backend/postmas ...
Date: 2001-06-21 21:14:59
Message-ID: Pine.LNX.4.30.0106212313100.724-100000@peter.localdomain
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Tom Lane writes:

> Peter Eisentraut - PostgreSQL <petere(at)hub(dot)org> writes:
> > Handle reading of startup packet and authentication exchange after forking
> > a new postmaster child process. This should eliminate problems with
> > authentication blocking (e.g., ident, SSL init) and also reduce problems
> > with the accept queue filling up under heavy load.
>
> One question about this --- why did you put the call to
> ClientAuthentication() into postgres.c? Seems like it should be in the
> postmaster, probably in DoBackend right after the call to
> ProcessStartupPacket.

You're probably right. I put it there when I rewrote the authentication
procedure, before I rewrote the startup handling.

--
Peter Eisentraut peter_e(at)gmx(dot)net http://funkturm.homeip.net/~peter

In response to

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2001-06-22 00:04:59 pgsql/ ontrib/userlock/README.user_locks ontri ...
Previous Message Tom Lane 2001-06-21 21:01:37 pgsql/src/include/storage multilev.h