Skip to content

Commit 224a8c4

Browse files
committedMay 2, 2023
(Maint) - Fix incorrect interpolation
1 parent df6f11a commit 224a8c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎manifests/server/grant.pp

+2-2
Original file line numberDiff line numberDiff line change
@@ -452,9 +452,9 @@
452452

453453
$_onlyif = $onlyif_function ? {
454454
'table_exists' => "SELECT true FROM pg_tables WHERE tablename = '${_togrant_object_only}'",
455-
'language_exists' => "SELECT true from pg_language WHERE lanname = '${_togrant_object_only}}'",
455+
'language_exists' => "SELECT true from pg_language WHERE lanname = '${_togrant_object_only}'",
456456
'role_exists' => "SELECT 1 FROM pg_roles WHERE rolname = '${role}' or '${role}' = 'PUBLIC'",
457-
'function_exists' => "SELECT true FROM pg_proc WHERE (oid::regprocedure)::text = '${_togrant_object_only}}${arguments}'",
457+
'function_exists' => "SELECT true FROM pg_proc WHERE (oid::regprocedure)::text = '${_togrant_object_only}${arguments}'",
458458
default => undef,
459459
}
460460

0 commit comments

Comments
 (0)
Please sign in to comment.