model-writtenrun 5515 - may be wrong, links go to the source messages. Commit-by-commit LLM analysis is in the Commits dialog.
- Yogendra Suralkar reported that upgrading to PostgreSQL 13.7 broke root clients using another user's private key with mode 0600, while changing to root ownership and mode 0640 also failed despite the documented allowance #1.
- Tom Lane traced the mode-0640 failure to a permissions test copied from the server, where the effective user cannot be root, and proposed selecting the permissions rule solely by whether the file is root-owned #2.
- Tom Lane then posted a patch that also removed the explicit ownership check, relying on filesystem read permissions to preserve previously working cases, and asked whether server checks or the existing allowance for owner-execute permission should change #3.
- David Steele supported the fix and favored avoiding further changes to server checks or owner-execute handling in stable branches, while initially leaving open possible changes for PostgreSQL 15 #4.
- Tom Lane committed the patch with only comment wording changes as 2b65de7fc2, backpatched it to all supported branches, and announced the push while asking whether development-branch checks should be aligned #5.
- David Steele subsequently recommended leaving the remaining differences alone, and Tom Lane agreed that frontend and server code satisfy different constraints; the submitted fix was landed with no further changes planned in the thread #6 #7.