Re: Pg 7.2.3 int8 value out of range - Mailing list pgsql-bugs

From Tom Lane
Subject Re: Pg 7.2.3 int8 value out of range
Date
Msg-id 13281.1034904489@sss.pgh.pa.us
Whole thread Raw
In response to Pg 7.2.3 int8 value out of range  (Brian Macy <bmacy@macykids.net>)
Responses Re: Pg 7.2.3 int8 value out of range  (Lamar Owen <lamar.owen@wgcr.org>)
List pgsql-bugs
Brian Macy <bmacy@macykids.net> writes:
> Only excepts 32bit values and not 64bit. Endian issue?
> This is on sparc linux.

Hmm, did configure find any working 64bit int type?  Let's see this part
of your src/include/pg_config.h file:


/* Set to 1 if type "long int" works and is 64 bits */
/* #undef HAVE_LONG_INT_64 */

/* Set to 1 if type "long long int" works and is 64 bits */
#define HAVE_LONG_LONG_INT_64

/* Set to 1 if type "long long int" constants should be suffixed by LL */
#define HAVE_LL_CONSTANTS 1

/* Define this as the appropriate snprintf format for 64-bit ints, if any */
#define INT64_FORMAT "%lld"


            regards, tom lane

pgsql-bugs by date:

Previous
From: Brian Macy
Date:
Subject: Pg 7.2.3 int8 value out of range
Next
From: Lamar Owen
Date:
Subject: Re: Pg 7.2.3 int8 value out of range