Fix come incorrect elog() messages in aclchk.c

Michael Paquier <michael@paquier.xyz>

Commit: 7ad458e06b1bf1408d9d089a843070943d6c7c6a
Author: Michael Paquier <michael@paquier.xyz>
Date: 2022-12-23T01:04:33Z
Releases: 14.7
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