diff options
author | Robert Haas <rhaas@postgresql.org> | 2019-12-17 12:55:13 -0500 |
---|---|---|
committer | Robert Haas <rhaas@postgresql.org> | 2019-12-17 12:55:13 -0500 |
commit | 5910d6c7e311f0b14e3d3cb9ce3597c01d3a3cde (patch) | |
tree | f21ad0692f36c846b1d06f0766fd20a52c195f85 /src/backend/tcop/postgres.c | |
parent | af3290f5e790dcd1be3ac209be1805626f4ebac8 (diff) | |
download | postgresql-5910d6c7e311f0b14e3d3cb9ce3597c01d3a3cde.tar.gz postgresql-5910d6c7e311f0b14e3d3cb9ce3597c01d3a3cde.zip |
Move interrupt-handling code into subroutines.
Some auxiliary processes, as well as the autovacuum launcher,
have interrupt handling code directly in their main loops.
Try to abstract things a little better by moving it into
separate functions.
This doesn't make any functional difference, and leaves
in place relatively large differences among processes in how
interrupts are handled, but hopefully it at least makes it
easier to see the commonalities and differences across
process types.
Patch by me, reviewed by Andres Freund and Daniel Gustafsson.
Discussion: http://postgr.es/m/CA+TgmoZwDk=BguVDVa+qdA6SBKef=PKbaKDQALTC_9qoz1mJqg@mail.gmail.com
Diffstat (limited to 'src/backend/tcop/postgres.c')
0 files changed, 0 insertions, 0 deletions