mirror of
https://github.com/neondatabase/neon.git
synced 2026-05-27 18:10:37 +00:00
do not quote privileges
This commit is contained in:
@@ -1393,8 +1393,8 @@ LIMIT 100",
|
||||
.iter()
|
||||
// should not be quoted as it's part of the command.
|
||||
// is already sanitized so it's ok
|
||||
.map(|p| serde_json::to_string(p).unwrap())
|
||||
.collect::<Vec<String>>()
|
||||
.map(|p| p.as_str())
|
||||
.collect::<Vec<&'static str>>()
|
||||
.join(", "),
|
||||
// quote the schema and role name as identifiers to sanitize them.
|
||||
schema_name.to_string().pg_quote(),
|
||||
|
||||
Reference in New Issue
Block a user