Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit ac3aa7b

Browse files
author
Commitfest Bot
committed
[CF 5739] Remove redundant comment regarding RelationBuildRowSecurity in relcache.c
This branch was automatically generated by a robot using patches from an email thread registered at: https://commitfest.postgresql.org/patch/5739 The branch will be overwritten each time a new patch version is posted to the thread, and also periodically to check for bitrot caused by changes on the master branch. Patch(es): https://www.postgresql.org/message-id/8BD3D145-D880-49B9-9A5D-09EDEF5CEF4A@amazon.com Author(s): Tanzeel Khan
2 parents fc32be3 + 6be30d4 commit ac3aa7b

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)