diff options
author | Andres Freund <andres@anarazel.de> | 2025-01-24 17:00:10 -0500 |
---|---|---|
committer | Andres Freund <andres@anarazel.de> | 2025-01-24 17:00:10 -0500 |
commit | 8edd8c77c88e75822334ccb8376d2c151d6e5615 (patch) | |
tree | b4b4ea18865a87e4e2e2364fad947b58fb215c6d /src/backend/utils/adt/oracle_compat.c | |
parent | f0b7ab7251390544c5e79d1d9c96da254181fc4f (diff) | |
download | postgresql-8edd8c77c88e75822334ccb8376d2c151d6e5615.tar.gz postgresql-8edd8c77c88e75822334ccb8376d2c151d6e5615.zip |
postmaster: Move code to switch into FatalError state into function
There are two places switching to FatalError mode, behaving somewhat
differently. An upcoming commit will introduce a third. That doesn't seem seem
like a good idea.
This commit just moves the FatalError related code from HandleChildCrash()
into its own function, a subsequent commit will evolve the state machine
change to be suitable for other callers.
Reviewed-by: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Discussion: https://postgr.es/m/kgng5nrvnlv335evmsuvpnh354rw7qyazl73kdysev2cr2v5zu@m3cfzxicm5kp
Diffstat (limited to 'src/backend/utils/adt/oracle_compat.c')
0 files changed, 0 insertions, 0 deletions