]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Simplify signature of ProcessStartupPacket()
authorMichael Paquier <michael@paquier.xyz>
Sat, 16 May 2026 22:44:17 +0000 (07:44 +0900)
committerMichael Paquier <michael@paquier.xyz>
Sat, 16 May 2026 22:44:17 +0000 (07:44 +0900)
commit3dcd85d1b96151529718cc195d85d4ce4e0c1ccb
tree515e13000184cc702968483cb13f83b5c8c9c5a6
parent4111b91ab3d5ad3afc22370168fcb3622de8a098
Simplify signature of ProcessStartupPacket()

There is now only one caller of ProcessStartupPacket().  Let's simplify
the routine so as the GSS and SSL states are tracked inside it.   If
future callers are added, there is less guessing to do.

Suggested-by: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Daniel Gustafsson <daniel@yesql.se>
Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
Discussion: https://postgr.es/m/aga7lCWluyc5zLb5@paquier.xyz
src/backend/tcop/backend_startup.c