]> granicus.if.org Git - postgresql/commit
Disallow bits beyond the mask length for CIDR values, per discussion
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 27 Oct 2000 01:55:23 +0000 (01:55 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 27 Oct 2000 01:55:23 +0000 (01:55 +0000)
commit063c0f6beac6107d5b2b5ba101236c71a98070f7
tree51759d3b7490fcbcbedf8b878e562da353eb0820
parent2f35b4efdbec6c161ca9bd491d6345134910c425
Disallow bits beyond the mask length for CIDR values, per discussion
on pghackers.  Arrange for the sort ordering of general INET values
to be network part as major sort key, host part as minor sort key.
I did not force an initdb for this change, but anyone who's running
indexes on general INET values may need to recreate those indexes.
src/backend/utils/adt/network.c
src/test/regress/expected/inet.out
src/test/regress/sql/inet.sql