pgsql/src include/c.h backend/utils/error/elog ... - Mailing list pgsql-committers

From Tom Lane
Subject pgsql/src include/c.h backend/utils/error/elog ...
Date
Msg-id 200101210059.f0L0xRJ67232@hub.org
Whole thread Raw
List pgsql-committers
CVSROOT:    /home/projects/pgsql/cvsroot
Module name:    pgsql
Changes by:    tgl@hub.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.


pgsql-committers by date:

Previous
From: Tom Lane
Date:
Subject: pgsql/src/interfaces/libpq Makefile libpq-int.h
Next
From: Bruce Momjian - CVS
Date:
Subject: pgsql/src/backend/storage/large_object inv_api.c