Re: Handle MAXSTRLEN consistently - Mailing list pgsql-hackers

From Tom Lane
Subject Re: Handle MAXSTRLEN consistently
Date
Msg-id 3426918.1786634473@sss.pgh.pa.us
Whole thread
List pgsql-hackers
Zsolt Parragi <zsolt.parragi@percona.com> writes:
> On Wed, 12 Aug 2026, Tom Lane <tgl@sss.pgh.pa.us> wrote:
>> Yeah. I noticed this inconsistency while preparing 23d9ad771,
>> but felt that fixing it was out of scope for a security patch.
>> There's a similar problem with inconsistent enforcement of
>> MAXSTRPOS. Attached is what I had staged to propose post-release.

> Yeah, I missed that MAXSTRPOS case but it is also valid, otherwise the
> changes look identical.

Pushed, thanks for the cross-check.

            regards, tom lane



pgsql-hackers by date:

Previous
From: Marcos Pegoraro
Date:
Subject: Re: Correct some doc items due to the REPACK
Next
From: Daniel Gustafsson
Date:
Subject: Re: Clarify or fix SIGINT handling in data checksums launcher