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

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

pgsql-hackers by date

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

pgsql-patches by date

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

pgsql-hackers-win32 by date

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

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