Re: [COMMITTERS] pgsql/ oc/src/sgml/client-auth.sgml oc/src/sgm ...

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: tgl(at)postgresql(dot)org
Cc: PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [COMMITTERS] pgsql/ oc/src/sgml/client-auth.sgml oc/src/sgm ...
Date: 2001-11-02 22:30:59
Message-ID: 200111022230.fA2MUxW20613@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers pgsql-hackers pgsql-jdbc

> CVSROOT: /cvsroot
> Module name: pgsql
> Changes by: tgl(at)postgresql(dot)org 01/11/02 13:39:57
>
> Modified files:
> doc/src/sgml : client-auth.sgml runtime.sgml
> src/backend/commands: user.c
> src/backend/libpq: crypt.c
> src/backend/postmaster: postmaster.c
> src/include/libpq: crypt.h
>
> Log message:
> 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.

Tom, does a client do a kill() to its parent on password change?

If this is true, people can't depend on editing pg_hba.conf and having
the change take affect _only_ when they sighup the postmaster. If
someone changes a password, pg_hba.conf gets reread anyway, right? Not
a problem but something we should be aware of.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2001-11-02 22:56:32 Re: [COMMITTERS] pgsql/ oc/src/sgml/client-auth.sgml oc/src/sgm ...
Previous Message tgl 2001-11-02 20:51:28 pgsql/src/interfaces/libpq libpq-fe.h libpq-int.h

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2001-11-02 22:56:32 Re: [COMMITTERS] pgsql/ oc/src/sgml/client-auth.sgml oc/src/sgm ...
Previous Message Serguei Mokhov 2001-11-02 21:16:54 Re: checking things over ...

Browse pgsql-jdbc by date

  From Date Subject
Next Message Tom Lane 2001-11-02 22:56:32 Re: [COMMITTERS] pgsql/ oc/src/sgml/client-auth.sgml oc/src/sgm ...
Previous Message Jason Davies 2001-11-02 22:15:45 [jason@netspade.com: DatabaseMetaData.java.diff]