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 ------ master Details ------- https://git.postgresql.org/pg/commitdiff/61f6021b110d4fa781a212906bd6eba62abf3ca6 Modified Files -------------- src/backend/storage/smgr/smgr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
