]> granicus.if.org Git - postgresql/commit
Handle reading of startup packet and authentication exchange after forking
authorPeter Eisentraut <peter_e@gmx.net>
Wed, 20 Jun 2001 18:07:56 +0000 (18:07 +0000)
committerPeter Eisentraut <peter_e@gmx.net>
Wed, 20 Jun 2001 18:07:56 +0000 (18:07 +0000)
commit9b4bfbdc2cd74342d9febb74c93acad1d4de84ca
tree0239cbb8e885f8420b5ec967c928f4e6fdc5bed1
parent588463a449e70aff33d799b5c9475ab94fbdf4c9
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.

The option to send elog output to a different file per backend (postgres -o)
has been disabled for now because the initialization would have to happen
in a different order and it's not clear we want to keep this anyway.
src/backend/libpq/auth.c
src/backend/postmaster/postmaster.c
src/backend/tcop/postgres.c
src/backend/utils/error/elog.c
src/backend/utils/init/miscinit.c
src/include/libpq/auth.h