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

From: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
To: Nicolai Tufar <ntufar(at)gmail(dot)com>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Magnus Hagander <mha(at)sollentuna(dot)net>, pgsql-hackers(at)postgresql(dot)org, pgsql-hackers-win32(at)postgresql(dot)org
Subject: Re: [pgsql-hackers-win32] snprintf causes regression tests to fail
Date: 2005-03-02 00:00:48
Message-ID: 200503020000.j2200mn14079@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32

Nicolai Tufar wrote:
> On Tue, 01 Mar 2005 17:45:31 -0500, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> > Nicolai Tufar <ntufar(at)gmail(dot)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(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2005-03-02 00:28:35 Re: [HACKERS] snprintf causes regression tests to fail
Previous Message Tom Lane 2005-03-01 23:53:43 Re: [HACKERS] snprintf causes regression tests to fail

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Tom Lane 2005-03-02 00:28:35 Re: [HACKERS] snprintf causes regression tests to fail
Previous Message Tom Lane 2005-03-01 23:53:43 Re: [HACKERS] snprintf causes regression tests to fail