Skip to content

Commit

Permalink
fix incompatibility with PG10
Browse files Browse the repository at this point in the history
  • Loading branch information
eeeebbbbrrrr committed Aug 14, 2020
1 parent 3ac272d commit 5c6b3d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cargo-pgx/src/commands/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ fn walk_items(
sql.push_str("CREATE OPERATOR ");
sql.push_str(&qualify_name(&current_schema, &name.unwrap()));
sql.push_str(" (");
sql.push_str("\n FUNCTION=");
sql.push_str("\n PROCEDURE=");
sql.push_str(&qualify_name(&current_schema, &func_name));
if type_names.len() == 1 {
sql.push_str(",\n RIGHTARG=");
Expand Down

0 comments on commit 5c6b3d5

Please sign in to comment.