pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Alvaro Herrera <alvherre@commandprompt.com>
To: Robert Haas <robertmhaas@gmail.com>
Cc: Michael Meskes <meskes@postgresql.org>
Cc: Jim Gray <jim.gray@bull.com>
Cc: Pg Bugs <pgsql-bugs@postgresql.org>
Subject: Re: BUG #6238: ECPG converts "long long" to long on Windows
Date: Tue, 04 Oct 2011 11:44:22 -0300
Message-ID: <1317739247-sup-2334@alvh.no-ip.org> (raw)
In-Reply-To: <CA+TgmoaH46CcESzy+sZmw6pkc4O=vWV24O12itCEsUsJ_isn2g@mail.gmail.com>
References: <201110032246.p93MkNb9070001@wwwmaster.postgresql.org>
	<20111004121539.GA9786@feivel.credativ.lan>
	<CA+TgmoaH46CcESzy+sZmw6pkc4O=vWV24O12itCEsUsJ_isn2g@mail.gmail.com>


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.

-- 
Álvaro Herrera <alvherre@commandprompt.com>
The PostgreSQL Company - Command Prompt, Inc.
PostgreSQL Replication, Consulting, Custom Development, 24x7 support



view thread (9+ messages)  latest in thread

Message-ID: <1317739247-sup-2334@alvh.no-ip.org>
Permalink:  ../1317739247-sup-2334@alvh.no-ip.org/
Also on:    postgresql.org/message-id/1317739247-sup-2334@alvh.no-ip.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: alvherre@commandprompt.com, robertmhaas@gmail.com, meskes@postgresql.org, jim.gray@bull.com
  Subject: Re: BUG #6238: ECPG converts "long long" to long on Windows
  In-Reply-To: <1317739247-sup-2334@alvh.no-ip.org>
  References: <201110032246.p93MkNb9070001@wwwmaster.postgresql.org> <20111004121539.GA9786@feivel.credativ.lan> <CA+TgmoaH46CcESzy+sZmw6pkc4O=vWV24O12itCEsUsJ_isn2g@mail.gmail.com> <1317739247-sup-2334@alvh.no-ip.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox