model-writtenrun 8228 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Michael Paquier proposed replacing security_context_t declarations with char * and removing casts because libselinux 3.1 deprecated the typedef and generated compilation warnings #1.
- Tom Lane questioned whether removing the casts would cause const-related warnings #2; Michael investigated the API signatures and proposed raising the minimum supported libselinux version to 2.3 #3.
- Tom argued that warnings on older platforms did not justify dropping support, and Michael agreed to retain the existing minimum version #4 #5; Joe Conway confirmed that the rhinoceros buildfarm animal used libselinux 2.5 #6.
- Michael committed the attached patch unchanged as 1f32136a99 and announced its application on HEAD #8.
- Tom suggested backpatching for builds on newer platforms #9, but Michael initially considered that unnecessary because the warnings did not prevent the module from working #10.
- In November 2022, Alvaro Herrera revived backpatching after a CI warnings check failed on an older branch #11; Tom supported it but requested waiting until after the upcoming minor releases, particularly PostgreSQL 10's final release, and Michael agreed #12 #13.
- After the releases were tagged, Michael reported backpatching through PostgreSQL 9.2 and testing builds on every affected branch, with only 9.2 requiring a slight adjustment #14; Alvaro acknowledged completion, leaving no outstanding work in the thread #15.