Re: snprintf causes regression tests to fail

Поиск
Список
Период
Сортировка
От pgsql@mohawksoft.com
Тема Re: snprintf causes regression tests to fail
Дата
Msg-id 16737.24.91.171.78.1109613284.squirrel@mail.mohawksoft.com
обсуждение исходный текст
Ответ на Re: snprintf causes regression tests to fail  (Nicolai Tufar <ntufar@gmail.com>)
Ответы Re: snprintf causes regression tests to fail  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
> Linux and Solaris 10 x86 pass regression tests fine when I force the use
> of new
> snprintf().   The problem should be win32 - specific. I will
> investigate it throughly
> tonight. Can someone experienced in win32 what can possibly be the
> problem?

Do we have any idea about what format string causes the regression failure?
It may be that certain integer types are not promoted uniformly when
pushed on the stack.


>
> Nick
>
> On Sun, 27 Feb 2005 19:07:16 +0100, Magnus Hagander <mha@sollentuna.net>
> wrote:
>> 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
>>
>>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 9: the planner will ignore your desire to choose an index scan if your
>       joining column's datatypes do not match
>



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Evgen Potemkin
Дата:
Сообщение: Re: SQL99 Hierarchical queries
Следующее
От: Simon Riggs
Дата:
Сообщение: Re: [pgsql-advocacy] Development Plans