Re: [pgsql-hackers-win32] snprintf causes regression tests to fail - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: [pgsql-hackers-win32] snprintf causes regression tests to fail
Date
Msg-id 200503020000.j2200mn14079@candle.pha.pa.us
Whole thread Raw
List pgsql-hackers
Nicolai Tufar wrote:
> On Tue, 01 Mar 2005 17:45:31 -0500, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> > Nicolai Tufar <ntufar@gmail.com> writes:
> > Just out of curiosity, do either HAVE_INT64 or HAVE_UINT64 get set
> > in pg_config.h?  The observed symptoms would be explained if typedef
> > int64 were ending up as "long" rather than "long long".  Looking at
> > the #ifdef nest in include/c.h, there are a couple of ways that could
> > happen, including importing a definition from system header files.
> >
> > If this were happening, it would presumably break all int8 math not
> > only snprintf, so I'm not sure it's the story.
>
> I am looking into it. Will report if find something of importance.
>
> > As far as I've seen,
> > no one has actually posted the regression diffs seen in this failure,
> > so most of us are in the dark about the details of the problem.
>
> Regression diiff is attached. The problem is reported by Magnus
> and me. Probably nobody else compiles pg under Win32 these
> days.

I am testing the failure here.  I will keep at it until I find the
cause.

The only downside is that Win32 compiles are much slower than Unix.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

pgsql-hackers by date:

Previous
From: Thomas F.O'Connell
Date:
Subject: Re: Where to see the patch queue (was Re: [PATCHES] Patch
Next
From: Bruce Momjian
Date:
Subject: Re: snprintf causes regression tests to fail