git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 7e6fb5d) | patch
Initialize variable to placate compiler.
2023年12月27日 13:41:53 +0000 (08:41 -0500)
2023年12月27日 13:45:23 +0000 (08:45 -0500)
commit da083b20f63739130dd65d8f0ca4a49b6db31cfe
Initialize variable to placate compiler.

I don't think there's a real problem here, because if we reach
the loop over 'tles' then we will either find at least one
TimeLineHistoryEntry such that oldest_segno != 0, in which case
unsummarized_lsn will be initialized, or else unsummarized_tli
will remain 0 and an error will occur before unsummarized_lsn
is used for anything. But some compilers are complainining, as
reported on list by Nathan Bossart and off-list by Andrew Dunstan.

Discussion: http://postgr.es/m/20231223215147.GA69623@nathanxps13
src/backend/postmaster/walsummarizer.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /