Commit 311c521d authored by Bruce Momjian's avatar Bruce Momjian

would you mind committing the following changes for me? (the first

bug causes compilation to fail on alpha, the second causes a compiler
in this environment
parent 4eadf2d6
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.9 1997/01/10 10:06:20 vadim Exp $ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtinsert.c,v 1.10 1997/01/25 21:08:09 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -982,7 +982,7 @@ _bt_updateitem(Relation rel, ...@@ -982,7 +982,7 @@ _bt_updateitem(Relation rel,
maxoff = PageGetMaxOffsetNumber(page); maxoff = PageGetMaxOffsetNumber(page);
/* locate item on the page */ /* locate item on the page */
first = P_RIGHTMOST((BTPageOpaque) PageGetSpecialPointer(page)) \ first = P_RIGHTMOST((BTPageOpaque) PageGetSpecialPointer(page))
? P_HIKEY : P_FIRSTKEY; ? P_HIKEY : P_FIRSTKEY;
i = first; i = first;
do { do {
......
...@@ -50,6 +50,7 @@ ...@@ -50,6 +50,7 @@
# define USE_POSIX_SIGNALS # define USE_POSIX_SIGNALS
# define DISABLE_XOPEN_NLS # define DISABLE_XOPEN_NLS
# define HAS_LONG_LONG # define HAS_LONG_LONG
# define NEED_ISINF
# define NEED_UNION_SEMUN # define NEED_UNION_SEMUN
# define HAS_TEST_AND_SET # define HAS_TEST_AND_SET
# include <sys/mman.h> /* for msemaphore */ # include <sys/mman.h> /* for msemaphore */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment