Here is a patch that allows CIDR netmasks in pg_hba.conf. It allows two
Bruce Momjian <bruce@momjian.us>
Here is a patch that allows CIDR netmasks in pg_hba.conf. It allows two address/mask forms: . address/maskbits, or . address netmask (as now) If the patch is accepted I will submit a documentation patch to cover it. This is submitted by agreement with Kurt Roeckx, who has worked on a patch that covers this and other IPv6 issues. Andrew Dunstan
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/libpq/hba.c | modified | +34 −11 |
| src/backend/libpq/ip.c | modified | +54 −1 |
| src/include/libpq/ip.h | modified | +3 −1 |