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

Bruce Momjian <[email protected]>
Newsgroups gmane.comp.db.postgresql.devel.general,gmane.comp.db.postgresql.devel.win32
Message-ID <[email protected]>
Nicolai Tufar wrote:
> On Tue, 01 Mar 2005 17:45:31 -0500, Tom Lane <[email protected]> wrote:
> > Nicolai Tufar <[email protected]> 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
  [email protected]               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.