]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Fix come incorrect elog() messages in aclchk.c
authorMichael Paquier <michael@paquier.xyz>
Fri, 23 Dec 2022 01:04:34 +0000 (10:04 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 23 Dec 2022 01:04:34 +0000 (10:04 +0900)
commit4dbe72d61ac6dc1ed4a230db2adec1dc01041f7f
tree5a1ee28d0cc1216740c3ba892f84733c26487e19
parent4fceb454f2df57f63d05ccb4a26a9f49c377f28c
Fix come incorrect elog() messages in aclchk.c

Three error strings used with cache lookup failures were referring to
incorrect object types for ACL checks:
- Schemas
- Types
- Foreign Servers
There errors should never be triggered, but if they do incorrect
information would be reported.

Author: Justin Pryzby
Discussion: https://postgr.es/m/20221222153041.GN1153@telsasoft.com
Backpatch-through: 11
src/backend/catalog/aclchk.c