Robert Haas <robertmh...@gmail.com> writes: > On Wed, Jun 17, 2020 at 12:27 PM Tom Lane <t...@sss.pgh.pa.us> wrote: >> Which of the things I mentioned don't require writing WAL?
> Writing hint bits and marking index tuples as killed do not write WAL > unless checksums are enabled. And your point is? I thought enabling checksums was considered good practice these days. >> You're right that these are the same things that we already forbid on a >> standby, for the same reason, so maybe it won't be as hard to identify >> them as I feared. I wonder whether we should envision this as "demote >> primary to standby" rather than an independent feature. > See my comments on the nearby pg_demote thread. I think we want both. Well, if pg_demote can be done for X amount of effort, and largely gets the job done, while this requires 10X or 100X the effort and introduces 10X or 100X as many bugs, I'm not especially convinced that we want both. regards, tom lane