| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | pgsql-committers(at)postgresql(dot)org |
| Subject: | pgsql: Rename the C functions bitand(), bitor() to bit_and(), bit_or(). |
| Date: | 2010-12-27 19:58:17 |
| Message-ID: | E1PXJCz-0000Mz-N7@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
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.
Branch
------
master
Details
-------
http://git.postgresql.org/gitweb?p=postgresql.git;a=commitdiff;h=84fc571395f6986d912cda6c09826cb10caee7f0
Modified Files
--------------
src/backend/utils/adt/varbit.c | 60 +++++++++++++++++++++++++------------
src/include/catalog/catversion.h | 2 +-
src/include/catalog/pg_proc.h | 4 +-
src/include/utils/varbit.h | 5 ++-
4 files changed, 46 insertions(+), 25 deletions(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2010-12-27 20:03:50 | pgsql: Remove -fno-operator-names switch from cpluspluscheck. |
| Previous Message | Tom Lane | 2010-12-27 17:52:12 | pgsql: Rearrange cpluspluscheck to check just one .h file at a time. |