Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group