============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Tomek Gryszkiewicz
Your email address : grych@tgr.com.pl
Category : install: compile
Severity : non-critical
Summary: PostgreSQL v6.4 does not compile
System Configuration
- --------------------
Operating System : Linux 2.0.36 ELF
PostgreSQL version : 6.4
Compiler used : gcc 2.8.1
Hardware:
- ---------
Pentium, 128M
Versions of other tools:
- ------------------------
gmake 3.76.1, flex 2.5.4
- --------------------------------------------------------------------------
Problem Description:
- --------------------
When compiling src/backend/utils/adt/time.c and float.c conts INT_MIN and INT_MAX are not defined. Compiler end with
error.
- --------------------------------------------------------------------------
Test Case:
- ----------
- --------------------------------------------------------------------------
Solution:
- ---------
Add line:
#include <limits.h>
to the both of files: date.c and float.c
- --------------------------------------------------------------------------