Rename the C functions bitand(), bitor() to bit_and(), bit_or().
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/utils/adt/varbit.c | modified | +40 −20 |
| src/include/catalog/catversion.h | modified | +1 −1 |
| src/include/catalog/pg_proc.h | modified | +2 −2 |
| src/include/utils/varbit.h | modified | +3 −2 |