It seems someone removed some include files in revision 1.11 from interfaces/ecpg/pgtypeslib/numeric.c. One of them was limits.h, which is needed for INT_MAX and LONG_MAX.
Readding it fixes it. Kurt ---------------------------(end of broadcast)--------------------------- TIP 5: Have you checked our extensive FAQ? http://www.postgresql.org/docs/faqs/FAQ.html