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 <[email protected]>
Reviewed-by: Daniel Gustafsson <[email protected]>
Reviewed-by: Heikki Linnakangas <[email protected]>
Discussion: https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3dcd85d1b96151529718cc195d85d4ce4e0c1ccb

Modified Files
--------------
src/backend/tcop/backend_startup.c | 25 ++++++++++++++++---------
1 file changed, 16 insertions(+), 9 deletions(-)

Reply via email to