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