Fix come incorrect elog() messages in aclchk.c

Michael Paquier <michael@paquier.xyz>

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