Fix come incorrect elog() messages in aclchk.c

Michael Paquier <michael@paquier.xyz>

Commit: 7445869e1b0d369af9125c9db8196a3be3f44463
Author: Michael Paquier <michael@paquier.xyz>
Date: 2022-12-23T01:04:36Z
Releases: 12.14
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

Files

PathChange+/−
src/backend/catalog/aclchk.c modified +3 −3

Discussion

Cited messages not in the archive: 20221222153041.GN1153@telsasoft.com