Re: elog() proposal

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: elog() proposal
Дата
Msg-id 22015.1014425761@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: elog() proposal  (Bruce Momjian <pgman@candle.pha.pa.us>)
Ответы Re: elog() proposal  (Bruce Momjian <pgman@candle.pha.pa.us>)
Список pgsql-hackers
Bruce Momjian <pgman@candle.pha.pa.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


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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: Going through email
Следующее
От: Bruce Momjian
Дата:
Сообщение: Re: elog() proposal