Here is a patch that allows CIDR netmasks in pg_hba.conf. It allows two

Bruce Momjian <bruce@momjian.us>

Commit: b78961b0da946e67c0f46156c193d27e63aa3de9
Author: Bruce Momjian <bruce@momjian.us>
Date: 2003-06-12T02:12:58Z
Releases: 7.4.1
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

PathChange+/−
src/backend/libpq/hba.c modified +34 −11
src/backend/libpq/ip.c modified +54 −1
src/include/libpq/ip.h modified +3 −1