pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Fix setting skip_fsync on temp tables 3+ messages / 1 participants [nested] [flat]
* pgsql: Fix setting skip_fsync on temp tables @ 2026-11-19 12:49 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 3+ messages in thread From: Heikki Linnakangas @ 2026-11-19 12:49 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 <s.shinderuk@postgrespro.ru> Reviewed-by: Chao Li <li.evan.chao@gmail.com> Reviewed-by: Yuefei Shi <shiyuefei1004@gmail.com> Discussion: https://www.postgresql.org/message-id/A96F1990-57F8-4566-B55D-43D6087EE313@postgrespro.ru 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(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Fix setting skip_fsync on temp tables @ 2026-11-19 12:49 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 3+ messages in thread From: Heikki Linnakangas @ 2026-11-19 12:49 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 <s.shinderuk@postgrespro.ru> Reviewed-by: Chao Li <li.evan.chao@gmail.com> Reviewed-by: Yuefei Shi <shiyuefei1004@gmail.com> Discussion: https://www.postgresql.org/message-id/A96F1990-57F8-4566-B55D-43D6087EE313@postgrespro.ru 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(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
* pgsql: Fix setting skip_fsync on temp tables @ 2026-11-19 12:49 Heikki Linnakangas <heikki.linnakangas@iki.fi> 0 siblings, 0 replies; 3+ messages in thread From: Heikki Linnakangas @ 2026-11-19 12:49 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org 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 <s.shinderuk@postgrespro.ru> Reviewed-by: Chao Li <li.evan.chao@gmail.com> Reviewed-by: Yuefei Shi <shiyuefei1004@gmail.com> Discussion: https://www.postgresql.org/message-id/A96F1990-57F8-4566-B55D-43D6087EE313@postgrespro.ru 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(-) ^ permalink raw reply [nested|flat] 3+ messages in thread
end of thread, other threads:[~2026-11-19 12:49 UTC | newest] Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2026-11-19 12:49 pgsql: Fix setting skip_fsync on temp tables Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-11-19 12:49 pgsql: Fix setting skip_fsync on temp tables Heikki Linnakangas <heikki.linnakangas@iki.fi> 2026-11-19 12:49 pgsql: Fix setting skip_fsync on temp tables Heikki Linnakangas <heikki.linnakangas@iki.fi>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox