We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df6f11a commit 224a8c4Copy full SHA for 224a8c4
manifests/server/grant.pp
@@ -452,9 +452,9 @@
452
453
$_onlyif = $onlyif_function ? {
454
'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}}'",
+ 'language_exists' => "SELECT true from pg_language WHERE lanname = '${_togrant_object_only}'",
456
'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}'",
+ 'function_exists' => "SELECT true FROM pg_proc WHERE (oid::regprocedure)::text = '${_togrant_object_only}${arguments}'",
458
default => undef,
459
}
460
0 commit comments