Skip to content

Commit 1464bd1

Browse files
committed
fix table grant with schema
1 parent dd190cd commit 1464bd1

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

manifests/server/grant.pp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -425,10 +425,8 @@
425425
# }
426426
case $_object_name {
427427
Array: {
428-
$_togrant_object = $_enquote_object ? {
429-
false => join($_object_name, '.'),
430-
default => join($_object_name, '"."'),
431-
}
428+
# pg_* views does not contain schema name as part of the object name
429+
$_togrant_object = $_object_name
432430
# Never put double quotes into has_*_privilege function
433431
$_granted_object = join($_object_name, '.')
434432
}

0 commit comments

Comments
 (0)