snprintf causes regression tests to fail

From: "Magnus Hagander" <mha(at)sollentuna(dot)net>
To: <pgsql-hackers(at)postgresql(dot)org>
Cc: "Nicolai Tufar" <ntufar(at)gmail(dot)com>, "Bruce Momjian" <pgman(at)candle(dot)pha(dot)pa(dot)us>
Subject: snprintf causes regression tests to fail
Date: 2005-02-27 18:07:16
Message-ID: 6BCB9D8A16AC4241919521715F4D8BCE4769E1@algol.sollentuna.se
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-hackers-win32 pgsql-patches

Hi!

The new snpritnf code appears not to deal with 64-bit ints. I'm getting
failures on win32 for int8 as well as all the time related tests (win32
uses int8 for tinmestamps). Removing the snprintf code and falling back
to the OS code makes everything pass again.

I would guess this affects int8 etc on other platforms as well (assuming
they use our snprintf and not the libc one), but I haven't checked it.

//Magnus

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dave Page 2005-02-27 19:52:00 Re: [pgsql-hackers-win32] win32 performance - fsync question
Previous Message Michael Paesold 2005-02-27 13:46:06 Re: win32 performance - fsync question

Browse pgsql-hackers-win32 by date

  From Date Subject
Next Message Dave Page 2005-02-27 19:52:00 Re: [pgsql-hackers-win32] win32 performance - fsync question
Previous Message Michael Paesold 2005-02-27 13:46:06 Re: win32 performance - fsync question

Browse pgsql-patches by date

  From Date Subject
Next Message Thomas Hallgren 2005-02-27 18:19:22 Patch that deals with that AtCommit_Portals encounters deleted entries
Previous Message Magnus Hagander 2005-02-27 17:37:24 win32 libpq build broken