Skip to content

Commit

Permalink
Further fix for RTE perms
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Teng <[email protected]>
  • Loading branch information
Jason Teng committed Dec 7, 2023
1 parent cc143db commit 651a95f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/babelfishpg_tsql/src/pltsql_bulkcopy.c
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ BeginBulkCopy(Relation rel,
}

/* Check access permissions. */
ExecCheckPermissions(pstate->p_rtable, list_make1(perminfo), true);
ExecCheckPermissions(pstate->p_rtable, pstate->p_rteperminfos, true);

/* Permission check for row security policies. */
if (check_enable_rls(perminfo->relid, InvalidOid, false) == RLS_ENABLED)
Expand Down

0 comments on commit 651a95f

Please sign in to comment.