Message-ID: From: "vlsi (@vlsi)" To: "pgjdbc/pgjdbc" Date: Wed, 24 Dec 2025 15:42:55 +0000 Subject: Re: [pgjdbc/pgjdbc] PR #3895: implement require_auth, this is pretty much how libpq does this. In-Reply-To: References: List-Id: X-GitHub-Author-Login: vlsi X-GitHub-Comment-Id: 2645953259 X-GitHub-Comment-Type: review_comment X-GitHub-Commit: b72113255da1956e6c0323d4e8170d722f20629b X-GitHub-Issue: 3895 X-GitHub-Path: pgjdbc/src/main/java/org/postgresql/core/v3/ConnectionFactoryImpl.java X-GitHub-Repo: pgjdbc/pgjdbc X-GitHub-Type: review_comment X-GitHub-Url: https://github.com/pgjdbc/pgjdbc/pull/3895#discussion_r2645953259 Content-Type: text/plain; charset=utf-8 (on pgjdbc/src/main/java/org/postgresql/core/v3/ConnectionFactoryImpl.java) `AUTH_REQ_OK` brings the second parse, doesn't it? Frankly, I find it much eaiser to reason about if the inputs are parsed once, and the code deals with parsed values rather than parse at multiple locations.