Re: [PATCH] pg_upgrade: Split off pg_fatal() from pg_log()

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: [PATCH] pg_upgrade: Split off pg_fatal() from pg_log()
Дата
Msg-id 20130926215638.GC7113@momjian.us
обсуждение исходный текст
Ответ на [PATCH] pg_upgrade: Split off pg_fatal() from pg_log()  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-hackers
On Thu, Sep 12, 2013 at 10:50:42PM -0400, Peter Eisentraut wrote:
> The experiences with elog() and ereport() have shown that having one
> function that can return or not depending on some log level parameter
> isn't a good idea when you want to communicate well with the compiler.
> In pg_upgrade, there is a similar case with the pg_log() function.
> Since that isn't a public API, I'm proposing to change it and introduce
> a separate function pg_fatal() for those cases where the calls don't
> return.

Fine with me.

--  Bruce Momjian  <bruce@momjian.us>        http://momjian.us EnterpriseDB
http://enterprisedb.com
 + It's impossible for everything to be true. +



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

Предыдущее
От: Bruce Momjian
Дата:
Сообщение: Re: record identical operator - Review
Следующее
От: Alexander Korotkov
Дата:
Сообщение: Re: GIN improvements part 1: additional information