Re: AW: [HACKERS] Re: elog with automatic file, line, and function

2001-03-20 Thread Tom Lane
Zeugswetter Andreas SB <[EMAIL PROTECTED]> writes: > I do not think it would be appropriate to send file, line and func > infos to the client though. We still need to work out the details, but my first thought would be to make this conditional on the value of some SET variable. Also, probably t

Re: [HACKERS] Re: elog with automatic file, line, and function

2001-03-20 Thread Larry Rosenman
* Pete Forman <[EMAIL PROTECTED]> [010320 04:22]: > Larry Rosenman writes: > > * Tom Lane <[EMAIL PROTECTED]> [010319 18:58]: > > > However, if the C99 spec has such a concept, they didn't use that name > > > for it ... > > My C99 compiler (SCO, UDK FS 7.1.1b), defines the following: > > Pred

AW: [HACKERS] Re: elog with automatic file, line, and function

2001-03-20 Thread Zeugswetter Andreas SB
> > 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 __F

[HACKERS] Re: elog with automatic file, line, and function

2001-03-20 Thread Pete Forman
Larry Rosenman writes: > * Tom Lane <[EMAIL PROTECTED]> [010319 18:58]: > > However, if the C99 spec has such a concept, they didn't use that name > > for it ... > My C99 compiler (SCO, UDK FS 7.1.1b), defines the following: > Predefined names > > The following identifiers are predefined a