mirror of
https://github.com/postgres/postgres.git
synced 2025-04-24 10:47:04 +03:00
Fix incorrect format placeholder
This commit is contained in:
parent
9e8b694d81
commit
f8ba1bf4e4
@ -3901,7 +3901,7 @@ getRTEPermissionInfo(List *rteperminfos, RangeTblEntry *rte)
|
|||||||
|
|
||||||
if (rte->perminfoindex == 0 ||
|
if (rte->perminfoindex == 0 ||
|
||||||
rte->perminfoindex > list_length(rteperminfos))
|
rte->perminfoindex > list_length(rteperminfos))
|
||||||
elog(ERROR, "invalid perminfoindex %d in RTE with relid %u",
|
elog(ERROR, "invalid perminfoindex %u in RTE with relid %u",
|
||||||
rte->perminfoindex, rte->relid);
|
rte->perminfoindex, rte->relid);
|
||||||
perminfo = list_nth_node(RTEPermissionInfo, rteperminfos,
|
perminfo = list_nth_node(RTEPermissionInfo, rteperminfos,
|
||||||
rte->perminfoindex - 1);
|
rte->perminfoindex - 1);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user