On 2026-Nov-23, Álvaro Herrera wrote: > I agree that there are more important things to fix. I thought using a > read-only StringInfo and getting rid of the global wasn't a completely > bad idea. I was reading this patch thinking it could be a quick push, > but I realized that it's not trivial to see from eyeballing alone that > we don't call walrcv_receive() one more time before consuming the whole > buffer (which libpqrcv_receive warns against). Admittedly, the same can > be said of the original code, so this is not a new concern. Maybe a few > extra comments would make this business clearer.
I pushed this after all, thanks. -- Álvaro Herrera PostgreSQL Developer — https://www.EnterpriseDB.com/ "Los minutos y los segundos son mercadería de la ciudad, donde un infeliz se afana por no perder ni siquiera un segundo y no advierte que obrando de ese modo pierde una vida." ("La vuelta de Don Camilo", G. Guareschi)
