Re: Pg 7.2.3 int8 value out of range

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Brian Macy <bmacy(at)macykids(dot)net>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: Pg 7.2.3 int8 value out of range
Date: 2002-10-18 01:28:09
Message-ID: 13281.1034904489@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

Brian Macy <bmacy(at)macykids(dot)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

In response to

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Lamar Owen 2002-10-18 03:25:19 Re: Pg 7.2.3 int8 value out of range
Previous Message Brian Macy 2002-10-17 17:47:20 Pg 7.2.3 int8 value out of range