Fix setting skip_fsync on temp tables The intention was to always skip fsync for temporary relations, but the condition was inverted, so skip_fsync was set to false for temporary relations. This has no user-visible effect at the moment, because the skip_fsync field isn't used anywhere (only reads go through AIO currently).
While here, fix a copy-pasto in the smgrwritev() comment, which said "read" where it meant "written". Author: Sergey Shinderuk <[email protected]> Reviewed-by: Chao Li <[email protected]> Reviewed-by: Yuefei Shi <[email protected]> Discussion: https://www.postgresql.org/message-id/[email protected] Backpatch-through: 18 Branch ------ REL_18_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/75829f043992ee863111d245197f8442774501b6 Modified Files -------------- src/backend/storage/smgr/smgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
