model-writtenrun 2008 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Ashutosh Bapat reported that GCC 11.4 rejected a release build because reltuples might be used uninitialized, although his inspection showed it was initialized whenever used #1.
- Ashutosh attached a patch assigning reltuples = 0 when sampling was disabled and reported that it restored compilation, while presenting it as a diagnostic hint rather than a definitive fix #1.
- Tom Lane confirmed a similar buildfarm warning, suggested that removing PG_TRY had enabled imperfect compiler flow analysis, and chose initialization at the variable declaration #2.
- Tom committed the warning suppression as b9ebb92bcb, replacing the conditional assignment proposed in #1 with double reltuples = -1.0.
- Ashutosh thanked Tom after the commit; the thread ended with the fix landed and no outstanding requests #3.