Support ident authentication on local (Unix) socket connections, if the
Tom Lane <tgl@sss.pgh.pa.us>
Support ident authentication on local (Unix) socket connections, if the system supports SO_PEERCRED requests for Unix sockets. This is an amalgamation of patches submitted by Helge Bahmann and Oliver Elphick, with some editorializing by yours truly.
Files
| Path | Change | +/− |
|---|---|---|
| configure | modified | +163 −135 |
| configure.in | modified | +13 −0 |
| doc/src/sgml/client-auth.sgml | modified | +44 −14 |
| src/backend/libpq/auth.c | modified | +3 −5 |
| src/backend/libpq/hba.c | modified | +112 −24 |
| src/backend/libpq/pg_hba.conf.sample | modified | +19 −16 |
| src/include/config.h.in | modified | +4 −1 |
| src/include/libpq/hba.h | modified | +2 −3 |