File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 452
452
453
453
$_onlyif = $onlyif_function ? {
454
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}} '" ,
455
+ ' language_exists' => " SELECT true from pg_language WHERE lanname = '${_togrant_object_only}'" ,
456
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} '" ,
457
+ ' function_exists' => " SELECT true FROM pg_proc WHERE (oid::regprocedure)::text = '${_togrant_object_only}${arguments} '" ,
458
458
default => undef ,
459
459
}
460
460
You can’t perform that action at this time.
0 commit comments