pgsql/src include/c.h backend/utils/error/elog ...

From: Tom Lane <tgl(at)hub(dot)org>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql/src include/c.h backend/utils/error/elog ...
Date: 2001-01-21 00:59:27
Message-ID: 200101210059.f0L0xRJ67232@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/20 19:59:27

Modified files:
src/include : c.h
src/backend/utils/error: elog.c exc.c

Log message:
Deal with C++ incompatibility of sys_nerr declaration by taking it out
of c.h altogether, and putting it into the only places that use it
(elog.c and exc.c), instead. Modify these routines to check for a
NULL or empty-string return from strerror, too, since some platforms
define strerror to return empty string for unknown errors (what a useless
definition that is ...). Clean up some cruft in ExcPrint while at it.

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian - CVS 2001-01-21 03:49:15 pgsql/src/backend/storage/large_object inv_api.c
Previous Message Tom Lane 2001-01-20 23:07:28 pgsql/src/interfaces/libpq Makefile libpq-int.h