Re: pgsql: Improve autovacuum logging for aggressive and anti-wraparound ru

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pgsql: Improve autovacuum logging for aggressive and anti-wraparound ru
Дата
Msg-id 338.1538489728@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pgsql: Improve autovacuum logging for aggressive andanti-wraparound ru  (Michael Paquier <michael@paquier.xyz>)
Ответы Re: pgsql: Improve autovacuum logging for aggressive andanti-wraparound ru
Список pgsql-hackers
Michael Paquier <michael@paquier.xyz> writes:
> My brain is rather fried for the rest of the day...  But we could just
> be looking at using USE_ASSERT_CHECKING.  Thoughts from other are
> welcome.

I'd go with folding the condition into a plain Assert.  Then it's
obvious that no code is added in a non-assert build.  I can see that
some cases might be so complicated that that isn't nice, but this
case doesn't seem to qualify.

            regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Commit fest 2018-09
Следующее
От: Joe Conway
Дата:
Сообщение: Re: Commit fest 2018-09