On 2020-Mar-25, James Coleman wrote: > Alvaro: I think you had some ideas on this too; any chance you've know > of a patch that anyone's got cooking?
I posted this in November https://postgr.es/m/20191101203310.GA12239@alvherre.pgsql but I didn't put time to go through the issues there. I don't know if my approach is exactly what Andres has in mind, but I was discouraged by the number of gotchas for which the optimization I propose has to be turned off. Maybe that preliminary patch can serve as a discussion starter, if nothing else. -- Álvaro Herrera https://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services