On 2026-Feb-23, Bryan Green wrote: > I have removed all but the SymCleanup form the backtrace_cleanup since > it happens at process exit. I have implemented not retrying as you > described above. > > Let me know if this was what you were thinking.
OK, thanks, that's pretty much what I was thinking. I've pushed this now. One last change I did is add a check that the wchar2char() return value isn't the full size of the output buffer, because IIUC that's the way it's intended to be used, and it matches the one existing caller that doesn't rely on the max_encoding_chars thing. -- Álvaro Herrera 48°01'N 7°57'E — https://www.EnterpriseDB.com/ "Entristecido, Wutra (canción de Las Barreras) echa a Freyr a rodar y a nosotros al mar"
