Re: pgsql/src backend/libpq/auth.c backend/postmas ... - Mailing list pgsql-committers

From Tom Lane
Subject Re: pgsql/src backend/libpq/auth.c backend/postmas ...
Date
Msg-id 18621.993144195@sss.pgh.pa.us
Whole thread Raw
In response to pgsql/src backend/libpq/auth.c backend/postmas ...  (Peter Eisentraut - PostgreSQL <petere@hub.org>)
Responses Re: pgsql/src backend/libpq/auth.c backend/postmas ...
List pgsql-committers
Peter Eisentraut - PostgreSQL <petere@hub.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.

            regards, tom lane

pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql/src/backend/postmaster postmaster.c
Next
From: Bruce Momjian - CVS
Date:
Subject: pgsql/src/backend/commands define.c