Re: ECPG/OpenBSD buildfarm failures, take I

From: Stefan Kaltenbrunner <stefan(at)kaltenbrunner(dot)cc>
To: Michael Meskes <meskes(at)postgresql(dot)org>
Cc: PostgreSQL Hacker <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: ECPG/OpenBSD buildfarm failures, take I
Date: 2006-09-06 19:13:34
Message-ID: 44FF1DDE.2040000@kaltenbrunner.cc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Michael Meskes wrote:
> It seems ECPG regression tests trigger a bug in OpenBSD libc. Please try
> the attached test case. I should give ERANGE as error, but on OpenBSD
> errno is set to 0.
>
> I tried this test case on Linux, where it works, and OpenBSD 3.8 and 4.0
> (that is HEAD). On both these systems it doesn't. Now the question is
> what do we do?

a bit of testing shows that at least FreeBSD 4.10 behaves similiar to
OpenBSD/i386 and I found the following discussion too:

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3759+0+archive/2003/freebsd-standards/20030511.freebsd-standards

that hints that setting ERANGE on an underflow (vs an overflow) is
implementation specific though I ws unable to verify that this is indeed
the case ...

Stefan

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Naz Gassiep 2006-09-06 19:29:04 Re: Timezone List
Previous Message Tom Lane 2006-09-06 19:01:27 Re: Timezone List