Peter Eisentraut <[EMAIL PROTECTED]> writes:
> Tom Lane writes:
>> #define ELOG(ARGS) (elog_setloc(__FILE__, __LINE__), elog ARGS)
> Would the first function save the data in global variables?
Yes, that's what I was envisioning. Not a super clean solution,
but workable, and better than requiring varargs macros.
regards, tom lane
---------------------------(end of broadcast)---------------------------
TIP 3: if posting/reading through Usenet, please send an appropriate
subscribe-nomail command to [EMAIL PROTECTED] so that your
message can get through to the mailing list cleanly
- [HACKERS] elog with automatic file, line, and function Peter Eisentraut
- Re: [HACKERS] elog with automatic file, line, and fu... Tom Lane
- Re: [HACKERS] elog with automatic file, line, an... Ian Lance Taylor
- Re: [HACKERS] elog with automatic file, line... Tom Lane
- Re: [HACKERS] elog with automatic file, ... Larry Rosenman
- [HACKERS] Re: elog with automatic f... Pete Forman
- Re: [HACKERS] Re: elog with aut... Larry Rosenman
- Re: [HACKERS] elog with automatic file, line, an... Peter Eisentraut
- Re: [HACKERS] elog with automatic file, line, and fu... Neal Norwitz
