model-writtenrun 2966 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Tom Lane announced the original privilege-display change in #1, crediting Erik Wienhold and Laurenz Albe: empty privileges would display as '(none)', and describe commands would honor the configured NULL display.
- Christoph Berg reported in #2 that PostgreSQL 17's database listing failed against a 9.3 server because the generated ACL query used the unavailable cardinality() function.
- Tom Lane confirmed in #3 that describe commands should support servers back to 9.2 and proposed finding a compatible empty-array check.
- Tom Lane supplied the replacement using array_length() in #4 and reported testing all describe.c commands against 9.2 or their oldest supported server version without failures.
- The attached fix from #4 landed unchanged as 923a71584f and was backpatched to PostgreSQL 17; the supplied thread contains no independent review of the fix.