]> 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:30 +0000 (10:04 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 23 Dec 2022 01:04:30 +0000 (10:04 +0900)
commite3897a3a4c559e20ba2c4f311be6ace8006f9005
tree69d78727058acabf3ffc130dfc0eb7b0b7019525
parent1a3daa5bb2e0ec10dd6cee38d120a52bed9213e0
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