Simplify signature of ProcessStartupPacket()

Michael Paquier <michael@paquier.xyz>

Commit: 3dcd85d1b96151529718cc195d85d4ce4e0c1ccb
Author: Michael Paquier <michael@paquier.xyz>
Date: 2026-05-16T22:44:17Z
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

Files

PathChange+/−
src/backend/tcop/backend_startup.c modified +16 −9

Discussion