ssize_t vs win64 - Mailing list pgsql-hackers

From Magnus Hagander
Subject ssize_t vs win64
Date
Msg-id 9837222c1001020642pf83ab29m9dd0658020b5b3d5@mail.gmail.com
Whole thread Raw
Responses Re: ssize_t vs win64  (Peter Eisentraut <peter_e@gmx.net>)
Re: ssize_t vs win64  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
When trying to build plpython on win64, it fails because ssize_t is
defined differently.

PostgreSQL has it as
typedef long ssize_t;

And python has it as:
typedef __int64 ssize_t;

The postgresql deifnition comes from include/port/win32.h, which leads
me to think that we should just change that one to be int64? (it
builds and passes tests if I do)

I'm not entirely sure what the type is for, though, so I figured I'd
better ask :-)

-- Magnus HaganderMe: http://www.hagander.net/Work: http://www.redpill-linpro.com/


pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: Change to config.pl processing in the msvc build environment
Next
From: KaiGai Kohei
Date:
Subject: Re: [BUG?] strange behavior in ALTER TABLE ... RENAME TO on inherited columns