Allow IPv4-format entries in pg_hba.conf to match IPv6 connections
Tom Lane <tgl@sss.pgh.pa.us>
Allow IPv4-format entries in pg_hba.conf to match IPv6 connections that have IPv4-embedded-in-IPv6 addresses. Per idea of Andreas Pflug.
Files
| Path | Change | +/− |
|---|---|---|
| doc/src/sgml/client-auth.sgml | modified | +16 −11 |
| src/backend/libpq/hba.c | modified | +23 −8 |
| src/backend/libpq/ip.c | modified | +105 −24 |
| src/backend/libpq/pg_hba.conf.sample | modified | +1 −2 |
| src/include/libpq/ip.h | modified | +6 −1 |