From: | Masahiko Sawada <sawada(dot)mshk(at)gmail(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Michael Paquier <michael(at)paquier(dot)xyz>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, Sergei Kornilov <sk(at)zsrv(dot)org>, nasbyj(at)amazon(dot)com, Andres Freund <andres(at)anarazel(dot)de>, Robert Haas <robertmhaas(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: pgsql: Improve autovacuum logging for aggressive and anti-wraparound ru |
Date: | 2018-10-03 07:37:29 |
Message-ID: | CAD21AoBR+y31ps+=G6_fxxVd_o1itTnaK19sDAEhAP_RyVT2AA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers pgsql-hackers |
On Tue, Oct 2, 2018 at 11:15 PM Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
>
> Michael Paquier <michael(at)paquier(dot)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.
>
Thank you for the comment. Attached the updated patch.
Regards,
--
Masahiko Sawada
NIPPON TELEGRAPH AND TELEPHONE CORPORATION
NTT Open Source Software Center
Attachment | Content-Type | Size |
---|---|---|
fix_autovacuum_log_v2.patch | application/octet-stream | 1.2 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Michael Paquier | 2018-10-03 07:55:10 | Re: pgsql: Improve autovacuum logging for aggressive and anti-wraparound ru |
Previous Message | Amit Kapila | 2018-10-03 04:28:11 | pgsql: MAXALIGN the target address where we store flattened value. |
From | Date | Subject | |
---|---|---|---|
Next Message | Chris Travers | 2018-10-03 07:40:11 | Re: [HACKERS] Transactions involving multiple postgres foreign servers, take 2 |
Previous Message | Michael Paquier | 2018-10-03 07:20:03 | Re: file cloning in pg_upgrade and CREATE DATABASE |