Content-Length: 256828 | pFad | http://github.com/postgrespro/postgres/commit/ceb3158abe743ddcb213457fc9fcd1a89812194f

9B Fix pgrowlocks minor coding oversight · postgrespro/postgres@ceb3158 · GitHub
Skip to content

Commit ceb3158

Browse files
Fix pgrowlocks minor coding oversight
1 parent 25fff40 commit ceb3158

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/pgrowlocks/pgrowlocks.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ pgrowlocks(PG_FUNCTION_ARGS)
100100
rel = heap_openrv(relrv, AccessShareLock);
101101

102102
/* check permissions: must have SELECT on table or be in pg_stat_scan_tables */
103-
aclresult = (pg_class_aclcheck(RelationGetRelid(rel), GetUserId(),
103+
aclresult = pg_class_aclcheck(RelationGetRelid(rel), GetUserId(),
104104
ACL_SELECT) ||
105105
is_member_of_role(GetUserId(), DEFAULT_ROLE_STAT_SCAN_TABLES);
106106

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/ceb3158abe743ddcb213457fc9fcd1a89812194f

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy