Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitceb3158

Browse files
Fix pgrowlocks minor coding oversight
1 parent25fff40 commitceb3158

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)

[8]ページ先頭

©2009-2025 Movatter.jp