pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Larry Rosenman <ler@lerctr.org>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Upgrading the backend's error-message infrastructure
Date: Thu, 13 Mar 2003 15:32:44 -0600
Message-ID: <93930000.1047591163@lerlaptop.lerctr.org> (raw)
In-Reply-To: <9376.1047590421@sss.pgh.pa.us>
References: <9168.1047588660@sss.pgh.pa.us>
	<73290000.1047590020@lerlaptop.lerctr.org>
	<9376.1047590421@sss.pgh.pa.us>



--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






view thread (32+ messages)  latest in thread

Message-ID: <93930000.1047591163@lerlaptop.lerctr.org>
Permalink:  ../93930000.1047591163@lerlaptop.lerctr.org/
Also on:    postgresql.org/message-id/93930000.1047591163@lerlaptop.lerctr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: ler@lerctr.org, tgl@sss.pgh.pa.us, pgsql-hackers@postgresql.org
  Subject: Re: Upgrading the backend's error-message infrastructure
  In-Reply-To: <93930000.1047591163@lerlaptop.lerctr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox