public inbox for [email protected]help / color / mirror / Atom feed
pgsql: doc: Correct the timeline for OAuth's shutdown_cb 2+ messages / 1 participants [nested] [flat]
* pgsql: doc: Correct the timeline for OAuth's shutdown_cb @ 2026-05-29 21:44 Jacob Champion <[email protected]> 0 siblings, 0 replies; 2+ messages in thread From: Jacob Champion @ 2026-05-29 21:44 UTC (permalink / raw) To: [email protected] doc: Correct the timeline for OAuth's shutdown_cb During original feature development, the OAuth validator shutdown callback was invoked via before_shmem_exit(). That was changed to use a reset callback before commit, but I forgot to update the documentation for validator developers. Correct this and backport to 18, where OAuth was introduced. The callback is invoked whenever the server is "finished" with token validation. (We make no stronger guarantees here, in the hopes that this API might successfully navigate future multifactor authentication support and/or changes to the server threading model.) Reported-by: Zsolt Parragi <[email protected]> Reviewed-by: Zsolt Parragi <[email protected]> Reviewed-by: Chao Li <[email protected]> Discussion: https://postgr.es/m/CAN4CZFOuMb_gnLvCwRdMybg_k8WRNJTjcij%2BPoQkuQHDUzxGWg%40mail.gmail.com Backpatch-through: 18 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/08127c641c099b21480d4cd47c2706fe64ca1820 Modified Files -------------- doc/src/sgml/oauth-validators.sgml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: doc: Correct the timeline for OAuth's shutdown_cb @ 2026-05-29 21:44 Jacob Champion <[email protected]> 0 siblings, 0 replies; 2+ messages in thread From: Jacob Champion @ 2026-05-29 21:44 UTC (permalink / raw) To: [email protected] doc: Correct the timeline for OAuth's shutdown_cb During original feature development, the OAuth validator shutdown callback was invoked via before_shmem_exit(). That was changed to use a reset callback before commit, but I forgot to update the documentation for validator developers. Correct this and backport to 18, where OAuth was introduced. The callback is invoked whenever the server is "finished" with token validation. (We make no stronger guarantees here, in the hopes that this API might successfully navigate future multifactor authentication support and/or changes to the server threading model.) Reported-by: Zsolt Parragi <[email protected]> Reviewed-by: Zsolt Parragi <[email protected]> Reviewed-by: Chao Li <[email protected]> Discussion: https://postgr.es/m/CAN4CZFOuMb_gnLvCwRdMybg_k8WRNJTjcij%2BPoQkuQHDUzxGWg%40mail.gmail.com Backpatch-through: 18 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/380a8b2ea024c33a35e7abc8628e7c4f52f9f9f9 Modified Files -------------- doc/src/sgml/oauth-validators.sgml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2026-05-29 21:44 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-05-29 21:44 pgsql: doc: Correct the timeline for OAuth's shutdown_cb Jacob Champion <[email protected]> 2026-05-29 21:44 pgsql: doc: Correct the timeline for OAuth's shutdown_cb Jacob Champion <[email protected]>
This inbox is served by agora; see mirroring instructions for how to clone and mirror all data and code used for this inbox