The attached patch makes the tree build for me again after the recent
include changes. This patch still violates the postgres.h before all
system headers rule and I'm still not sure what changed that broke
everything, but if people need to get work done this may help.
Kris Jurka
Index: contrib/btree_gist/btree_numeric.c
===================================================================
RCS file: /projects/cvsroot/pgsql/contrib/btree_gist/btree_numeric.c,v
retrieving revision 1.7
diff -c -r1.7 btree_numeric.c
*** contrib/btree_gist/btree_numeric.c 13 Jul 2006 16:57:31 -0000 1.7
--- contrib/btree_gist/btree_numeric.c 14 Jul 2006 02:02:57 -0000
***************
*** 1,4 ****
--- 1,5 ----
#include <math.h>
+ #include <float.h>
#include "btree_gist.h"
#include "btree_utils_var.h"
Index: contrib/btree_gist/btree_utils_num.h
===================================================================
RCS file: /projects/cvsroot/pgsql/contrib/btree_gist/btree_utils_num.h,v
retrieving revision 1.9
diff -c -r1.9 btree_utils_num.h
*** contrib/btree_gist/btree_utils_num.h 13 Jul 2006 16:57:31 -0000
1.9
--- contrib/btree_gist/btree_utils_num.h 14 Jul 2006 02:02:57 -0000
***************
*** 2,7 ****
--- 2,8 ----
#define __BTREE_UTILS_NUM_H__
#include <math.h>
+ #include <float.h>
#include "btree_gist.h"
Index: contrib/btree_gist/btree_utils_var.c
===================================================================
RCS file: /projects/cvsroot/pgsql/contrib/btree_gist/btree_utils_var.c,v
retrieving revision 1.14
diff -c -r1.14 btree_utils_var.c
*** contrib/btree_gist/btree_utils_var.c 13 Jul 2006 16:57:31 -0000
1.14
--- contrib/btree_gist/btree_utils_var.c 14 Jul 2006 02:02:57 -0000
***************
*** 1,4 ****
--- 1,6 ----
#include <math.h>
+ #include <limits.h>
+ #include <float.h>
#include "btree_gist.h"
#include "btree_utils_var.h"
Index: src/backend/executor/nodeHash.c
===================================================================
RCS file: /projects/cvsroot/pgsql/src/backend/executor/nodeHash.c,v
retrieving revision 1.106
diff -c -r1.106 nodeHash.c
*** src/backend/executor/nodeHash.c 13 Jul 2006 20:14:12 -0000 1.106
--- src/backend/executor/nodeHash.c 14 Jul 2006 02:02:57 -0000
***************
*** 22,27 ****
--- 22,28 ----
#include "postgres.h"
#include <math.h>
+ #include <limits.h>
#include "executor/execdebug.h"
#include "executor/hashjoin.h"
---------------------------(end of broadcast)---------------------------
TIP 6: explain analyze is your friend