Greg Sabino Mullane <[email protected]> writes: > Currently, all IP addresses in the address field of records in the > pg_hba.conf file require a CIDR mask. > ... > I'd like to relax that requirement, such that a lack of an explicit mask > defaults to a /32 mask, allowing that first example to work as most people > would expect.
This too would work better if hba.c were sharing cidr_in's logic:
regression=# select '1.2.3.4'::cidr;
cidr
------------
1.2.3.4/32
(1 row)
regards, tom lane
