Skip site navigation (1) Skip section navigation (2)


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: (view raw, whole thread or download thread mbox)
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                        |
  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

pgsql-patches by date

Next:From: Tom LaneDate: 2005-12-25 02:44:12
Subject: Re: Improve XLOG_NO_TRAN related comments
Previous:From: Qingqing ZhouDate: 2005-12-24 21:55:46
Subject: Improve XLOG_NO_TRAN related comments

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group