Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-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

pgsql-hackers by date

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

pgsql-hackers-win32 by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group