diff options
Diffstat (limited to 'src/backend/rewrite/rowsecurity.c')
-rw-r--r-- | src/backend/rewrite/rowsecurity.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/backend/rewrite/rowsecurity.c b/src/backend/rewrite/rowsecurity.c index e38586dd80b..53b27d11370 100644 --- a/src/backend/rewrite/rowsecurity.c +++ b/src/backend/rewrite/rowsecurity.c @@ -703,7 +703,7 @@ add_with_check_options(Relation rel, */ WithCheckOption *wco; - wco = (WithCheckOption *) makeNode(WithCheckOption); + wco = makeNode(WithCheckOption); wco->kind = kind; wco->relname = pstrdup(RelationGetRelationName(rel)); wco->polname = NULL; @@ -735,7 +735,7 @@ add_with_check_options(Relation rel, qual = copyObject(qual); ChangeVarNodes((Node *) qual, 1, rt_index, 0); - wco = (WithCheckOption *) makeNode(WithCheckOption); + wco = makeNode(WithCheckOption); wco->kind = kind; wco->relname = pstrdup(RelationGetRelationName(rel)); wco->polname = pstrdup(policy->policy_name); @@ -755,7 +755,7 @@ add_with_check_options(Relation rel, */ WithCheckOption *wco; - wco = (WithCheckOption *) makeNode(WithCheckOption); + wco = makeNode(WithCheckOption); wco->kind = kind; wco->relname = pstrdup(RelationGetRelationName(rel)); wco->polname = NULL; |