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

From Nicolai Tufar
Subject Re: [pgsql-hackers-win32] snprintf causes regression tests to fail
Date
Msg-id d809293905030106226dd66151@mail.gmail.com
Whole thread Raw
In response to Re: snprintf causes regression tests to fail  (Bruce Momjian <pgman@candle.pha.pa.us>)
Responses Re: [pgsql-hackers-win32] snprintf causes regression tests  (Bruce Momjian <pgman@candle.pha.pa.us>)
List pgsql-hackers
On Tue, 1 Mar 2005 00:55:20 -0500 (EST), Bruce Momjian
> My next guess
> is that Win32 isn't handling va_arg(..., long long int) properly.
>

I am trying various combination of number and types
of parameters in my test program and everything prints fine.
When it comes to pg, it fails :(

> >       template1=# select * from test where x > 1000::int8;
> >            x
> >       ------------
> >        -869367531
> >       (1 row)

I am not too fluent in source code, could someone
point me to there actual call to snprintf() is being done
when a query like this is executed. I could not find it myslef
:(

Regards,
Nick

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: mysterious log output
Next
From: Bruce Momjian
Date:
Subject: Re: [pgsql-hackers-win32] snprintf causes regression tests