model-writtenrun 7033 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Dagfinn Ilmari Mannsåker opened this thread with two PostgreSQL 18 bug fixes split from a broader RESET completion proposal: schema-qualify the DATABASE query's unnest() call and make ROLE/USER completion filter variables actually set on the role by the typed prefix #1.
- jian he tested the patches and reported that they looked good #2; Dagfinn then resent the identical series while adding the original changes' author and committer to the discussion #3.
- Tomas Vondra confirmed both fixes but found that the generic SET/RESET completion branch still offered unset variables for ROLE/USER; his revised series excluded those commands from that fallback and expanded the commit explanations #4.
- Dagfinn acknowledged the missed edge case and proposed combining the DATABASE and ROLE/USER exclusions into one TailMatches() call #5.
- Tomas adopted that simplification and committed both patches from #4, with the DATABASE change unchanged in dbf5a83d46 and the ROLE/USER change lightly simplified in ca09ef3a6a; both were also backpatched to PostgreSQL 18.
- Tomas announced that the fixes were pushed #6, and Dagfinn's final thanks closed the thread with both fixes landed and no outstanding work identified #7.