I have added these macros to c.h:
Bruce Momjian <bruce@momjian.us>
I have added these macros to c.h:
#define HIGHBIT (0x80)
#define IS_HIGHBIT_SET(ch) ((unsigned char)(ch) & HIGHBIT)
and removed CSIGNBIT and mapped it uses to HIGHBIT. I have also added
uses for IS_HIGHBIT_SET where appropriate. This change is
purely for code clarity.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/common/heaptuple.c | modified | +5 −5 |
| src/backend/parser/scansup.c | modified | +2 −2 |
| src/backend/utils/adt/network.c | modified | +6 −6 |
| src/backend/utils/adt/varbit.c | modified | +7 −7 |
| src/backend/utils/mb/conv.c | modified | +2 −2 |
| src/backend/utils/mb/conversion_procs/euc_cn_and_mic/euc_cn_and_mic.c | modified | +2 −2 |
| src/backend/utils/mb/conversion_procs/euc_kr_and_mic/euc_kr_and_mic.c | modified | +2 −2 |
| src/backend/utils/mb/conversion_procs/euc_tw_and_big5/euc_tw_and_big5.c | modified | +2 −2 |
| src/backend/utils/mb/conversion_procs/utf8_and_iso8859_1/utf8_and_iso8859_1.c | modified | +3 −3 |
| src/backend/utils/mb/wchar.c | modified | +13 −13 |
| src/include/c.h | modified | +3 −2 |
| src/include/utils/varbit.h | modified | +1 −2 |
| src/port/pgstrcasecmp.c | modified | +7 −7 |