Convert inet-related functions to new fmgr style. I have also taken it

Tom Lane <tgl@sss.pgh.pa.us>

Commit: ed9ca687582caa88f31c4b273b9fd4eb5743cf41
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2000-08-03T23:07:51Z
Releases: 7.1.1
Convert inet-related functions to new fmgr style.  I have also taken it
on myself to do something about the non-self-consistency of the inet
comparison functions.  The results are probably still semantically wrong
(inet and cidr should have different comparison semantics, I think)
but at least the boolean operators now agree with each other and with
the sort order of indexes on inet/cidr.

Files

PathChange+/−
src/backend/utils/adt/mac.c modified +76 −70
src/backend/utils/adt/network.c modified +128 −144
src/include/catalog/pg_proc.h modified +26 −26
src/include/utils/builtins.h modified +32 −34
src/include/utils/inet.h modified +29 −6
src/test/regress/expected/inet.out modified +1 −1