Re: requested shared memory size overflows size_t - Mailing list pgsql-hackers

From Yuri Levinsky
Subject Re: requested shared memory size overflows size_t
Date
Msg-id C9278837BA426D4DBDF8996DB890232612AC80@Cobra.celltick.com
Whole thread Raw
In response to Re: requested shared memory size overflows size_t  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-hackers
Craig,
Is this output correct now?
#define SIZEOF_OFF_T 8
#define SIZEOF_VOID_P 8
#define SIZEOF_SIZE_T 8
#define SIZEOF_LONG 8


Sincerely yours,


Yuri Levinsky, DBA
Celltick Technologies Ltd., 32 Maskit St., Herzliya 46733, Israel
Mobile: +972 54 6107703, Office: +972 9 9710239; Fax: +972 9 9710222


-----Original Message-----
From: Craig Ringer [mailto:craig@2ndquadrant.com]
Sent: Sunday, March 16, 2014 2:40 PM
To: Yuri Levinsky; Robert Haas
Cc: Heikki Linnakangas; pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] requested shared memory size overflows size_t

On 03/16/2014 06:57 PM, Yuri Levinsky wrote:
>  Dear Craig,
> The output is:
> #define SIZEOF_OFF_T 8
> #define SIZEOF_VOID_P 4
> #define SIZEOF_SIZE_T 4

OK, that confirms you have done a 32-bit build.

You need to figure out how to invoke the 64-bit toolchain on your Solaris version. You might need to alter the PATH
environmentvariable or set architecture-specific CFLAGS. 

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



pgsql-hackers by date:

Previous
From: Pavel Stehule
Date:
Subject: Re: create type- similar char
Next
From: "Erik Rijkers"
Date:
Subject: Re: jsonb status - 'JsonbValue' has no member named 'size'