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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy