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

Поиск
Список
Период
Сортировка
От Zeugswetter Andreas SB
Тема AW: Re: elog with automatic file, line, and function
Дата
Msg-id 11C1E6749A55D411A9670001FA687963368254@sdexcsrv1.f000.d0188.sd.spardat.at
обсуждение исходный текст
Ответы Re: AW: Re: elog with automatic file, line, and function  (Tom Lane <tgl@sss.pgh.pa.us>)
Список 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


В списке pgsql-hackers по дате отправления:

Предыдущее
От: Oleg Bartunov
Дата:
Сообщение: Re: Re: FAQ: Current state of replication ?
Следующее
От: Larry Rosenman
Дата:
Сообщение: Re: Re: elog with automatic file, line, and function