From: davecramer (@davecramer) <noreply+davecramer@github.com>
To: pgjdbc/pgjdbc <noreply+pgjdbc-pgjdbc@github.com>
Subject: Re: [pgjdbc/pgjdbc] PR #4251: OAuth implementation
Date: Thu, 25 Jun 2026 11:36:01 +0000
Message-ID: <gh-pgjdbc-pgjdbc-4251-c4798780166@github.com> (raw)
In-Reply-To: <gh-pgjdbc-pgjdbc-4251@github.com>
References: <gh-pgjdbc-pgjdbc-4251@github.com>
> @vlsi And what about tests infrastructure itself? This PR uses real validator extension on PG side + keycloak, which is heavy setup. Alternative option may be to have some dummy validator implementation just for test needs. For example pgx uses this approach: https://github.com/jackc/pgx/blob/master/testsetup/oauth_validator_module/dummy_validator.c
This would require compiling the validator for the tests. We just moved off of compiling postgres. Unless there is an extension that is publicly available. I wonder if we could create that in a separate project and pull it in?