aboutsummaryrefslogtreecommitdiff
path: root/src/tutorial/funcs.c
diff options
context:
space:
mode:
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>2020-05-14 08:39:26 +0300
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>2020-05-14 08:40:19 +0300
commit891a2007e3987545a2543c1f04cd0682576b39fa (patch)
tree5fb36a11811dfd0a42508fda589422771b42ba13 /src/tutorial/funcs.c
parent98171e59a6cae02b5efdbf6de12bc630d58373c6 (diff)
downloadpostgresql-891a2007e3987545a2543c1f04cd0682576b39fa.tar.gz
postgresql-891a2007e3987545a2543c1f04cd0682576b39fa.zip
Move check for fsync=off so that pendingOps still gets cleared.
Commit 3eb77eba5a moved the loop and refactored it, and inadvertently changed the effect of fsync=off so that it also skipped removing entries from the pendingOps table. That was not intentional, and leads to an assertion failure if you turn fsync on while the server is running and reload the config. Backpatch-through: 12- Reviewed-By: Thomas Munro Discussion: https://www.postgresql.org/message-id/3cbc7f4b-a5fa-56e9-9591-c886deb07513%40iki.fi
Diffstat (limited to 'src/tutorial/funcs.c')
0 files changed, 0 insertions, 0 deletions