diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2023-10-11 14:06:38 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2023-10-11 14:06:38 +0300 |
commit | 16671ba6e717ea307a3f61e8ab4f866cd6834772 (patch) | |
tree | 4e42cfcf95fcd69fcb8b6b320dd8648a3e48441f /src/backend/access/transam/generic_xlog.c | |
parent | c7c801ef3ba067aedc0288c17fe463c4f42e5623 (diff) | |
download | postgresql-16671ba6e717ea307a3f61e8ab4f866cd6834772.tar.gz postgresql-16671ba6e717ea307a3f61e8ab4f866cd6834772.zip |
Move canAcceptConnections check from ProcessStartupPacket to caller.
The check is not about processing the startup packet, so the calling
function seems like a more natural place. I'm also working on a patch
that moves 'canAcceptConnections' out of the Port struct, and this
makes that refactoring more convenient.
Reviewed-by: Tristan Partin
Discussion: https://www.postgresql.org/message-id/7a59b073-5b5b-151e-7ed3-8b01ff7ce9ef@iki.fi
Diffstat (limited to 'src/backend/access/transam/generic_xlog.c')
0 files changed, 0 insertions, 0 deletions