Tom Lane writes:
> Sure it is, it just requires a marginal increase in ugliness, namely
> double parentheses:
>
> ELOG((level, format, arg1, arg2, ...))
>
> which might work like
>
> #define ELOG(ARGS) (elog_setloc(__FILE__, __LINE__), elog ARGS)
Would the first function save the data in global variables?
--
Peter Eisentraut peter_e(at)gmx(dot)net http://yi.org/peter-e/