AW: Re: elog with automatic file, line, and function

From: Zeugswetter Andreas SB <ZeugswetterA(at)wien(dot)spardat(dot)at>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Subject: AW: Re: elog with automatic file, line, and function
Date: 2001-03-20 11:51:14
Message-ID: 11C1E6749A55D411A9670001FA687963368254@sdexcsrv1.f000.d0188.sd.spardat.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers


> > Nothing for function that I can find.
>
> It is called __func__ in C99 but it is not an object-like macro. The
> difference is that it behaves as if it were declared thus.

AIX xlc has __FUNCTION__, but unfortunately no __func__ or __PRETTY...
It outputs the full demagled funcname with __FUNCTION__ (like __PRETTY...).

I do not think it would be appropriate to send file, line and func infos to the
client though.

Andreas

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Larry Rosenman 2001-03-20 13:31:30 Re: Re: elog with automatic file, line, and function
Previous Message Oleg Bartunov 2001-03-20 11:06:45 Re: Re: FAQ: Current state of replication ?