Fix pg_pwd caching mechanism, which was broken by changes to fork

Tom Lane <tgl@sss.pgh.pa.us>

Commit: 8a069abd180250a5863160ed3b510a9d4c21c207
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2001-11-02T18:39:57Z
Releases: 7.2.1
Fix pg_pwd caching mechanism, which was broken by changes to fork
postmaster children before client auth step.  Postmaster now rereads
pg_pwd on receipt of SIGHUP, the same way that pg_hba.conf is handled.
No cycles need be expended to validate password cache validity during
connection startup.

Files

PathChange+/−
doc/src/sgml/client-auth.sgml modified +54 −14
doc/src/sgml/runtime.sgml modified +5 −3
src/backend/commands/user.c modified +10 −17
src/backend/libpq/crypt.c modified +93 −91
src/backend/postmaster/postmaster.c modified +8 −3
src/include/libpq/crypt.h modified +13 −14