aboutsummaryrefslogtreecommitdiff
path: root/contrib/btree_gist/btree_inet.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2006-01-26 02:35:51 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2006-01-26 02:35:51 +0000
commit8d8bf127605d0a87b22bb07e630a075506ca5e1e (patch)
tree3ad06ce423081f23df826753da0dc7f998e58822 /contrib/btree_gist/btree_inet.c
parent5997386a0a38f3ded28ce6eb2c2b4f110b377e46 (diff)
downloadpostgresql-8d8bf127605d0a87b22bb07e630a075506ca5e1e.tar.gz
postgresql-8d8bf127605d0a87b22bb07e630a075506ca5e1e.zip
Clean up the INET-vs-CIDR situation. Get rid of the internal is_cidr flag
and rely exclusively on the SQL type system to tell the difference between the types. Prevent creation of invalid CIDR values via casting from INET or set_masklen() --- both of these operations now silently zero any bits to the right of the netmask. Remove duplicate CIDR comparison operators, letting the type rely on the INET operators instead.
Diffstat (limited to 'contrib/btree_gist/btree_inet.c')
0 files changed, 0 insertions, 0 deletions