Support "samehost" and "samenet" specifications in pg_hba.conf,
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Oct 2009 01:58:58 +0000 (01:58 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 1 Oct 2009 01:58:58 +0000 (01:58 +0000)
commitd41392ae3e16806f8175c2c20db030ba8d43cbb6
tree2e8d9378779549a785d56d284ba367e96844c201
parent2804a45247acebd458a6ada9e8d60d2c47aa3cda
Support "samehost" and "samenet" specifications in pg_hba.conf,
by enumerating the machine's IP interfaces to look for a match.

Stef Walter
13 files changed:
configure
configure.in
doc/src/sgml/client-auth.sgml
src/backend/libpq/hba.c
src/backend/libpq/ip.c
src/backend/libpq/pg_hba.conf.sample
src/include/libpq/hba.h
src/include/libpq/ip.h
src/include/pg_config.h.in
src/tools/ifaddrs/Makefile [new file with mode: 0644]
src/tools/ifaddrs/README [new file with mode: 0644]
src/tools/ifaddrs/test_ifaddrs.c [new file with mode: 0644]
src/tools/msvc/Mkvcbuild.pm