New HIGHBIG and IS_HIGHBIT_SET defines

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: PostgreSQL-patches <pgsql-patches(at)postgresql(dot)org>
Subject: New HIGHBIG and IS_HIGHBIT_SET defines
Date: 2005-12-25 02:14:11
Message-ID: 200512250214.jBP2EBj20008@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches

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. Applied patch attached.

--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Attachment Content-Type Size
unknown_filename text/plain 11.6 KB

Browse pgsql-patches by date

  From Date Subject
Next Message Tom Lane 2005-12-25 02:44:12 Re: Improve XLOG_NO_TRAN related comments
Previous Message Qingqing Zhou 2005-12-24 21:55:46 Improve XLOG_NO_TRAN related comments