pgsql/ onfig/c-library.m4 /configure.in /confi ...

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/ onfig/c-library.m4 /configure.in /confi ...
Date: 2001-01-22 23:28:53
Message-ID: 200101222328.f0MNSrl34388@hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

CVSROOT: /home/projects/pgsql/cvsroot
Module name: pgsql
Changes by: tgl(at)hub(dot)org 01/01/22 18:28:53

Modified files:
config : c-library.m4
. : configure.in configure
src/include : config.h.in
src/backend/utils/error: elog.c exc.c

Log message:
Remove rangechecks on errno; just call strerror unconditionally. This
eliminates a raft of portability issues, including whether sys_nerr
exists, whether the platform has any valid negative errnos, etc. The
downside is minimal: errno shouldn't ever contain an invalid value anyway,
and if it does, reasonably modern versions of strerror will not choke.
This rangecheck idea seemed good at the time, but it's clearly a net loss,
and I apologize to all concerned for having ever put it in.

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut - PostgreSQL 2001-01-22 23:34:33 pgsql/doc/src/sgml filelist.sgml syntax.sgml u ...
Previous Message Bruce Momjian - CVS 2001-01-22 22:56:00 [WEBMASTER] 'www/html/users-lounge/docs faq.html'