From: sankalpsthakur (@sankalpsthakur) <noreply+sankalpsthakur@github.com>
To: pgjdbc/pgjdbc <noreply+pgjdbc-pgjdbc@github.com>
Subject: Re: [pgjdbc/pgjdbc] PR #4332: fix: limit FINEST Bind, Parse and SimpleQuery log messages to maxLogMessageLength to avoid OOM
Date: Sun, 16 Aug 2026 04:42:34 +0000
Message-ID: <gh-pgjdbc-pgjdbc-4332-c5305762354@github.com> (raw)
In-Reply-To: <gh-pgjdbc-pgjdbc-4332@github.com>
References: <gh-pgjdbc-pgjdbc-4332@github.com>
addressed all three: unrecognized types (estimateLogSize < 0) now use a placeholder instead of materializing via toString, oversized placeholder says chars not bytes, and the ,$i=< prefix only gets appended once it's confirmed to fit so no more dangling fragments.