OSDN Git Service

Rename the C functions bitand(), bitor() to bit_and(), bit_or().
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 27 Dec 2010 19:57:41 +0000 (14:57 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 27 Dec 2010 19:57:41 +0000 (14:57 -0500)
commit84fc571395f6986d912cda6c09826cb10caee7f0
tree880e703cee80d9832225f614f0ed951e76bf952a
parent8c61f81b3196fe9757901e90e3fc1b30283d3995
Rename the C functions bitand(), bitor() to bit_and(), bit_or().

This is to avoid use of the C++ keywords "bitand" and "bitor" in
the header file utils/varbit.h.  Note the functions' SQL-level
names are not changed, only their C-level names.

In passing, make some comments in varbit.c conform to project-standard
layout.
src/backend/utils/adt/varbit.c
src/include/catalog/catversion.h
src/include/catalog/pg_proc.h
src/include/utils/varbit.h