model-writtenrun 342 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Jan Nidzwetzki proposed adding pg_nodiscard to every function returning Bitmapset * in src/include/nodes/bitmapset.h because ignoring these return values is always a bug #1.
- Jan explained that these compile-time warnings complement REALLOCATE_BITMAPSETS, which helps expose stale pointers at runtime in builds that enable it #1.
- Nathan Bossart endorsed the proposal and noted that the idea had been raised and deferred during earlier Bitmapset work #2.
- Nathan committed the patch as d2b65863f0, preserving all annotations from #1 with only declaration wrapping changes, and announced the commit in #3.
- Jan thanked Nathan in the final reply, leaving the entire proposed change committed with no outstanding work identified #4.