From: | Heikki Linnakangas <hlinnaka(at)iki(dot)fi> |
---|---|
To: | Daniel Gustafsson <daniel(at)yesql(dot)se>, Michael Banck <michael(dot)banck(at)credativ(dot)de> |
Cc: | Magnus Hagander <magnus(at)hagander(dot)net>, Justin Pryzby <pryzby(at)telsasoft(dot)com>, Robert Haas <robertmhaas(at)gmail(dot)com>, Michael Paquier <michael(at)paquier(dot)xyz>, Andres Freund <andres(at)anarazel(dot)de>, Tomas Vondra <tomas(dot)vondra(at)2ndquadrant(dot)com>, Alvaro Herrera <alvherre(at)2ndquadrant(dot)com>, PostgreSQL Developers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: Online checksums patch - once again |
Date: | 2021-01-22 12:21:45 |
Message-ID: | d2cf92c0-1c37-a4d4-e0cb-85110572a07e@iki.fi |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 22/01/2021 13:55, Heikki Linnakangas wrote:
> I read through the latest patch,
> v31-0001-Support-checksum-enable-disable-in-a-running-clu.patch. Some
> comments below:
One more thing:
In SetRelationNumChecks(), you should use SearchSysCacheCopy1() to get a
modifiable copy of the tuple. Otherwise you modify the tuple in the
relcache as a side effect. Maybe that's harmless in this case, as the
'relhaschecksums' value in the relcache isn't used for anything, but
let's be tidy.
- Heikki
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel Gustafsson | 2021-01-22 12:32:59 | Re: mkid reference |
Previous Message | Masahiro Ikeda | 2021-01-22 12:14:28 | RE: About to add WAL write/fsync statistics to pg_stat_wal view |