Re: Upgrading the backend's error-message infrastructure

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: pgsql-hackers(at)postgresql(dot)org, pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Upgrading the backend's error-message infrastructure
Date: 2003-03-13 21:20:21
Message-ID: 9376.1047590421@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-interfaces

Larry Rosenman <ler(at)lerctr(dot)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.

regards, tom lane

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2003-03-13 21:28:34 Re: No merge sort?
Previous Message Larry Rosenman 2003-03-13 21:13:40 Re: Upgrading the backend's error-message infrastructure

Browse pgsql-interfaces by date

  From Date Subject
Next Message Larry Rosenman 2003-03-13 21:32:44 Re: Upgrading the backend's error-message infrastructure
Previous Message Larry Rosenman 2003-03-13 21:13:40 Re: Upgrading the backend's error-message infrastructure