Skip to content

Commit 595ba48

Browse files
tanscorpio7Commitfest Bot
authored andcommitted
Remove redundant comment about RelationBuildRowSecurity
RelationBuildRowSecurity does not create the default-deny policy so remove the comment which says so.
1 parent 12efa48 commit 595ba48

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/backend/utils/cache/relcache.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4328,10 +4328,7 @@ RelationCacheInitializePhase3(void)
43284328

43294329
/*
43304330
* Re-load the row security policies if the relation has them, since
4331-
* they are not preserved in the cache. Note that we can never NOT
4332-
* have a policy while relrowsecurity is true,
4333-
* RelationBuildRowSecurity will create a single default-deny policy
4334-
* if there is no policy defined in pg_policy.
4331+
* they are not preserved in the cache.
43354332
*/
43364333
if (relation->rd_rel->relrowsecurity && relation->rd_rsdesc == NULL)
43374334
{

0 commit comments

Comments
 (0)