Re: BUG #6238: ECPG converts "long long" to long on Windows - Mailing list pgsql-bugs

From Bruce Momjian
Subject Re: BUG #6238: ECPG converts "long long" to long on Windows
Date
Msg-id 201110052112.p95LCUk28021@momjian.us
Whole thread Raw
In response to Re: BUG #6238: ECPG converts "long long" to long on Windows  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: BUG #6238: ECPG converts "long long" to long on Windows  (Magnus Hagander <magnus@hagander.net>)
List pgsql-bugs
Alvaro Herrera wrote:
>
> Excerpts from Robert Haas's message of mar oct 04 10:39:27 -0300 2011:
> > On Tue, Oct 4, 2011 at 8:15 AM, Michael Meskes <meskes@postgresql.org> wrote:
>
> > >> 2010 on Windows, which accepts "long long" to mean the same thing as
> > >> __int64, but ECPG doesn't recognize the later.
> > >> May be related to BUG #5464: ecpg on 64bit system converts "long long" to
> > >> "long"
> > >
> > > Well, this bug is (at least I don't know otherwise) fixed for more than a year.
> > > Maybe the configure test doesn't work on Windows? I don't know.
> >
> > On at least some Windows builds, configure isn't used at all... so
> > whatever values is being used would come from the MSVC build system.
>
> In fact, pg_config.h.win32 does not have the HAVE_LONG_LONG_INT symbol
> at all -- only HAVE_LONG_LONG_INT_64 is in there.

Is this wrong?

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +

pgsql-bugs by date:

Previous
From: Daniel Cristian Cruz
Date:
Subject: Re: BUG #6226: Broken foreign key stored on database (parent deleted with children still readable, BUG#6225 Update)
Next
From: Tom Lane
Date:
Subject: Re: BUG #6226: Broken foreign key stored on database (parent deleted with children still readable, BUG#6225 Update)