diff options
author | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2020-05-14 08:39:26 +0300 |
---|---|---|
committer | Heikki Linnakangas <heikki.linnakangas@iki.fi> | 2020-05-14 08:39:26 +0300 |
commit | e8abf585ab453ca9c2f66f2138baf6d3c9c8fbf0 (patch) | |
tree | 5681d39670f1e7ed56ae6d1ce053c45837b69616 /src/backend/access/gist/gistproc.c | |
parent | a169155453e3d1c40c729a5318fd5298a990e5b0 (diff) | |
download | postgresql-e8abf585ab453ca9c2f66f2138baf6d3c9c8fbf0.tar.gz postgresql-e8abf585ab453ca9c2f66f2138baf6d3c9c8fbf0.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/backend/access/gist/gistproc.c')
0 files changed, 0 insertions, 0 deletions