Message-ID: From: "davecramer (@davecramer)" To: "pgjdbc/pgjdbc" Date: Sun, 06 Apr 2025 10:46:48 +0000 Subject: Re: [pgjdbc/pgjdbc] issue #3465: Metadata CHAR_OCTET_LENGTH is a positive number for non-character column types In-Reply-To: References: List-Id: X-GitHub-Author-Login: davecramer X-GitHub-Comment-Id: 2781358756 X-GitHub-Comment-Type: issue_comment X-GitHub-Issue: 3465 X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/issues/3465#issuecomment-2781358756 Content-Type: text/plain; charset=utf-8 As stated above `CHAR_OCTET_LENGTH int => The maximum length of binary and character based columns. For any other datatype the returned value is a NULL` So for binary it is the maximum length.