diff options
author | Nathan Bossart <nathan@postgresql.org> | 2024-09-26 13:54:37 -0500 |
---|---|---|
committer | Nathan Bossart <nathan@postgresql.org> | 2024-09-26 13:54:37 -0500 |
commit | 9726653185de62f2f8bf42a25e961bc56895a41b (patch) | |
tree | e8e9919c5837b114937a1d9b8719db72d95fe66a /src/bin/pg_verifybackup/t/002_algorithm.pl | |
parent | 147bbc90f75794e5522dcbadaf2bbe1af3ce574a (diff) | |
download | postgresql-9726653185de62f2f8bf42a25e961bc56895a41b.tar.gz postgresql-9726653185de62f2f8bf42a25e961bc56895a41b.zip |
Improve style of pg_upgrade task callback functions.
I wanted to avoid adjusting this code too much when converting
these tasks to use the new parallelization framework (see commit
40e2e5e92b), which is why this is being done as a follow-up commit.
These stylistic adjustments result in fewer lines of code and fewer
levels of indentation in some places.
While at it, add names to the UpgradeTaskSlotState enum and the
UpgradeTaskSlot struct. I'm not aware of any established project
policy in this area, but let's at least be consistent within the
same file.
Reviewed-by: Daniel Gustafsson
Discussion: https://postgr.es/m/ZunW7XHLd2uTts4f%40nathan
Diffstat (limited to 'src/bin/pg_verifybackup/t/002_algorithm.pl')
0 files changed, 0 insertions, 0 deletions