Skip to content

Commit 8a1bb0b

Browse files

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/reader.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -470,8 +470,10 @@ CheckerInit(Checker *checker, Relation rel, TupleChecker *tchecker)
470470
* is not essential. */
471471
ExecCheckRTPerms(range_table, true);
472472
#endif
473-
474-
#if PG_VERSION_NUM >= 160000
473+
474+
#if PG_VERSION_NUM >= 180000
475+
ExecInitRangeTable(checker->estate, range_table, perminfos, bms_make_singleton(1));
476+
#elif PG_VERSION_NUM >= 160000
475477
ExecInitRangeTable(checker->estate, range_table, perminfos);
476478
#elif PG_VERSION_NUM >= 120000
477479
/* Some APIs have changed significantly as of v12. */

0 commit comments

Comments
 (0)