Fix come incorrect elog() messages in aclchk.c
authorMichael Paquier <michael@paquier.xyz>
Fri, 23 Dec 2022 01:04:37 +0000 (10:04 +0900)
committerMichael Paquier <michael@paquier.xyz>
Fri, 23 Dec 2022 01:04:37 +0000 (10:04 +0900)
commitdf6fea51f01d38a427ed7c5d2e13c501f0beb4f0
tree027fc190dc04420af338761ba02c7eb6fba1ed2f
parent8cd700cc5a676282912c7080cfa142977a2dd851
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: http://postgr.es/m/20221222153041.GN1153@telsasoft.com
Backpatch-through: 11
src/backend/catalog/aclchk.c