]> granicus.if.org Git - postgresql/commit
Parse pg_hba.conf in postmaster, instead of once in each backend for
authorMagnus Hagander <magnus@hagander.net>
Mon, 15 Sep 2008 12:32:57 +0000 (12:32 +0000)
committerMagnus Hagander <magnus@hagander.net>
Mon, 15 Sep 2008 12:32:57 +0000 (12:32 +0000)
commit9872381090cf4cd45748422df67f1c64b31c5ead
tree88ea890a635170613f9dcec50170a400c13d310d
parentb850cf61bd5fc4822cf9e73bf28b3261786f6e0b
Parse pg_hba.conf in postmaster, instead of once in each backend for
each connection. This makes it possible to catch errors in the pg_hba
file when it's being reloaded, instead of silently reloading a broken
file and failing only when a user tries to connect.

This patch also makes the "sameuser" argument to ident authentication
optional.
doc/src/sgml/client-auth.sgml
src/backend/libpq/auth.c
src/backend/libpq/crypt.c
src/backend/libpq/hba.c
src/backend/libpq/pg_ident.conf.sample
src/backend/postmaster/postmaster.c
src/include/libpq/hba.h
src/include/libpq/libpq-be.h