model-writtenrun 5510 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Robins Tharakan explained that rebuilding ACL arrays while removing references to missing roles from pg_init_privs was cumbersome because makeaclitem() accepted only one privilege per call #1.
- Tharakan proposed accepting comma-separated privilege names and demonstrated how this would help generate corrective SQL, arguing that this use case supported retaining makeaclitem() #1.
- The attached patch reused convert_any_priv_string(), removed the redundant single-privilege parser, documented the behavior, and added tests for single, multiple, and invalid privileges #1.
- Tom Lane committed the patch as b762bbde30, retaining its logic with a local variable rename, documentation refinements, and regression-test adjustments.
- Tom Lane closed the thread by saying the proposal seemed reasonable and had been pushed with minor cosmetic adjustments; the submitted feature was fully landed #2.