Standardize on using the Min, Max, and Abs macros that are in our c.h file,
authorTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Oct 2004 19:28:36 +0000 (19:28 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Thu, 21 Oct 2004 19:28:36 +0000 (19:28 +0000)
commit380bd04c1658795c77b3b808ee766347188fab5f
treecb654e3e510cb1974120cd4d3ea1984b30f3eb32
parenta171fc1a4f37e37c1e80fe3e92a96b2bd37c8f98
Standardize on using the Min, Max, and Abs macros that are in our c.h file,
getting rid of numerous ad-hoc versions that have popped up in various
places.  Shortens code and avoids conflict with Windows min() and max()
macros.
22 files changed:
contrib/cube/cube.c
contrib/intarray/_int.h
contrib/intarray/_int_gist.c
contrib/intarray/_int_tool.c
contrib/intarray/_intbig_gist.c
contrib/ltree/_ltree_gist.c
contrib/ltree/ltree.h
contrib/ltree/ltree_gist.c
contrib/ltree/ltree_op.c
contrib/miscutil/misc_utils.c
contrib/miscutil/misc_utils.h
contrib/miscutil/misc_utils.sql.in
contrib/seg/seg.c
contrib/string/string_io.c
contrib/tsearch/gistidx.c
contrib/tsearch/gistidx.h
contrib/tsearch2/gistidx.c
contrib/tsearch2/gistidx.h
contrib/tsearch2/rank.c
src/backend/postmaster/postmaster.c
src/interfaces/libpq/fe-exec.c
src/test/regress/regress.c