Re: Upgrading the backend's error-message infrastructure - Mailing list pgsql-hackers

From Larry Rosenman
Subject Re: Upgrading the backend's error-message infrastructure
Date
Msg-id 93930000.1047591163@lerlaptop.lerctr.org
Whole thread Raw
In response to Re: Upgrading the backend's error-message infrastructure  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers

--On Thursday, March 13, 2003 16:20:21 -0500 Tom Lane <tgl@sss.pgh.pa.us> 
wrote:

> Larry Rosenman <ler@lerctr.org> writes:
>> __FUNCTION__ or an equivalent is MANDATED by C99, and available on
>> UnixWare's native cc.
>> You might want to make a configure test for it.
>
> Right, __func__ is the C99 spelling.  I did have a configure test in
> mind here: __func__ or __FUNCTION__ or NULL is what would get compiled
> in.  One nice thing about this approach is that we need change only one
> place to adjust the set of behind-the-scenes error parameters.
>
Ok, you had said GCC only.  Please do use the configure test, and __func__ 
if it's available.

Thanks,
LER


-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749





pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: No merge sort?
Next
From: Neil Conway
Date:
Subject: Re: Upgrading the backend's error-message infrastructure