pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: oauth_validator: Remove racing GUC check 3+ messages / 1 participants [nested] [flat]
* pgsql: oauth_validator: Remove racing GUC check @ 2026-10-08 18:02 Jacob Champion <jchampion@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Jacob Champion @ 2026-10-08 18:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org oauth_validator: Remove racing GUC check Follow-up to bca67e5a3. The test added there changed the value of oauth_validator_libraries, waited for the postmaster to apply it, and verified the change on an existing background connection. But there's no guarantee that the SIGHUP will have arrived and completed its work on existing backends by that time, so the final test flaked. We only care about the postmaster's state here, since we're testing the GUC's effects on newly forked backends, so remove the background check entirely. Per buildfarm member serinus. Reported-by: Alexander Lakhin <exclusion@gmail.com> Discussion: https://postgr.es/m/a37a3cea-5bd8-4385-a1d4-bb89394c079c%40gmail.com Backpatch-through: 18 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/f1eafd911ddde87f84672b5bf227a3e6cae6331f Modified Files -------------- src/test/modules/oauth_validator/t/001_server.pl | 2 -- 1 file changed, 2 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: oauth_validator: Remove racing GUC check @ 2026-10-08 18:02 Jacob Champion <jchampion@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Jacob Champion @ 2026-10-08 18:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org oauth_validator: Remove racing GUC check Follow-up to bca67e5a3. The test added there changed the value of oauth_validator_libraries, waited for the postmaster to apply it, and verified the change on an existing background connection. But there's no guarantee that the SIGHUP will have arrived and completed its work on existing backends by that time, so the final test flaked. We only care about the postmaster's state here, since we're testing the GUC's effects on newly forked backends, so remove the background check entirely. Per buildfarm member serinus. Reported-by: Alexander Lakhin <exclusion@gmail.com> Discussion: https://postgr.es/m/a37a3cea-5bd8-4385-a1d4-bb89394c079c%40gmail.com Backpatch-through: 18 Branch ------ REL_19_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/08f24a1152c264882209e5e555e1bfa14b11ad84 Modified Files -------------- src/test/modules/oauth_validator/t/001_server.pl | 2 -- 1 file changed, 2 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: oauth_validator: Remove racing GUC check @ 2026-10-08 18:02 Jacob Champion <jchampion@postgresql.org> 0 siblings, 0 replies; 3+ messages in thread From: Jacob Champion @ 2026-10-08 18:02 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org oauth_validator: Remove racing GUC check Follow-up to bca67e5a3. The test added there changed the value of oauth_validator_libraries, waited for the postmaster to apply it, and verified the change on an existing background connection. But there's no guarantee that the SIGHUP will have arrived and completed its work on existing backends by that time, so the final test flaked. We only care about the postmaster's state here, since we're testing the GUC's effects on newly forked backends, so remove the background check entirely. Per buildfarm member serinus. Reported-by: Alexander Lakhin <exclusion@gmail.com> Discussion: https://postgr.es/m/a37a3cea-5bd8-4385-a1d4-bb89394c079c%40gmail.com Backpatch-through: 18 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/af28fc13e20db49d559c00a8156753090c5516fd Modified Files -------------- src/test/modules/oauth_validator/t/001_server.pl | 2 -- 1 file changed, 2 deletions(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2026-10-08 18:02 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-10-08 18:02 pgsql: oauth_validator: Remove racing GUC check Jacob Champion <jchampion@postgresql.org> 2026-10-08 18:02 pgsql: oauth_validator: Remove racing GUC check Jacob Champion <jchampion@postgresql.org> 2026-10-08 18:02 pgsql: oauth_validator: Remove racing GUC check Jacob Champion <jchampion@postgresql.org>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox