Message-ID: From: "awadhesh14 (@awadhesh14)" To: "pgjdbc/pgjdbc" Date: Sat, 17 May 2025 08:51:58 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #3567: Surprising behaviour with jagged arrays In-Reply-To: References: List-Id: X-GitHub-Author-Login: awadhesh14 X-GitHub-Comment-Id: 2888233535 X-GitHub-Comment-Type: issue_comment X-GitHub-Edited-At: 2025-05-17T08:54:06Z X-GitHub-Issue: 3567 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/3567#issuecomment-2888233535 Content-Type: text/plain; charset=utf-8 @davecramer @jerrinot https://github.com/pgjdbc/pgjdbc/pull/3633 fixes the silent corruption and bad formatted message. The changes: - Validate array rectangularity during encoding - Throw clear errors with indices (e.g., Jagged array at [1][0]) - Preserve NULL/empty array behavior - Include tests Please review when convenient.