pgsql: doc: Correct the timeline for OAuth's shutdown_cb - Mailing list pgsql-committers

From Jacob Champion
Subject pgsql: doc: Correct the timeline for OAuth's shutdown_cb
Date
Msg-id E1wT50T-000B1K-0Q@gemulon.postgresql.org
Whole thread
List pgsql-committers
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 <zsolt.parragi@percona.com>
Reviewed-by: Zsolt Parragi <zsolt.parragi@percona.com>
Reviewed-by: Chao Li <li.evan.chao@gmail.com>
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(-)


pgsql-committers by date:

Previous
From: Daniel Gustafsson
Date:
Subject: pgsql: Fix compilation with OpenSSL 4
Next
From: Bruce Momjian
Date:
Subject: pgsql: doc PG 19 relnotes: adjust pg_read_all_data & pg_write_all_data