Andres Freund <and...@anarazel.de> writes: > On 2021-09-17 14:48:42 -0400, Tom Lane wrote: >> I don't think '\0' is the problem. The only fix for this would be to >> re-introduce some fixed limit on how long a line we'll read, which >> I'm not too thrilled about.
> Well, '\0' can be classified as the end of a line imo. So I don't think it'd > require a line lenght limit. Meh. Those functions are specified to act like fgets(), which does not think that \0 terminates a line AFAIK. regards, tom lane