Re: pgsql: Fix write/read of empty string fields in Nodes.

2022-09-26 Thread Tom Lane
Peter Eisentraut writes: > Fix write/read of empty string fields in Nodes. This really should've included a catversion bump, I think. Maybe there are no cases where this affects a Node type we can store today, but I'm unconvinced of that. regards, tom lane

pgsql: Fix write/read of empty string fields in Nodes.

2022-09-26 Thread Peter Eisentraut
Fix write/read of empty string fields in Nodes. Historically, outToken has represented both NULL and empty-string strings as "<>", which readfuncs.c then read as NULL, thus failing to preserve empty-string fields accurately. Remarkably, this has not caused any serious problems yet, but let's fix