OSDN Git Service

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)
commitf3aec2c7f51904e7920cd27115fdab831795d96b
tree6c81410fb6470f1ab8b7a4e5b74ec3ebbab775f6
parentf7082f269eb2ee5347ddd411602a870866d783d2
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