Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> writes:
> OK, so elog(ERROR, ...) and PGError(msg, ...) would be the same. Makes
> sense. Should we consider hiding these in macros so they really still
> call elog(ERROR, ...) for backward compatiblity?
I would love to make them macros, but I don't know a portable way to
create macros with variable numbers of arguments. Do you feel like
writing double parens?
PGERROR((msg, ...))
regards, tom lane