]> 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:36 +0000 (10:04 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 23 Dec 2022 01:04:36 +0000 (10:04 +0900)
commit7445869e1b0d369af9125c9db8196a3be3f44463
tree301f1fc40f801b99b96942d2219edfefafb8bf49
parentd572003f74bb6bddac1c0eaf7fb5d0c4af1a3890
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