Skip to content

Commit

Permalink
Clarify code comment for Normalize function
Browse files Browse the repository at this point in the history
This was still referencing `?` replacement characters, which haven't been used for many years now.
  • Loading branch information
lfittl committed Nov 6, 2023
1 parent 5ed85ef commit 5a9fa88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pg_query.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ func ParsePlPgSqlToJSON(input string) (result string, err error) {
return parser.ParsePlPgSqlToJSON(input)
}

// Normalize the passed SQL statement to replace constant values with ? characters
// Normalize the passed SQL statement to replace constant values with $n parameter references
func Normalize(input string) (result string, err error) {
return parser.Normalize(input)
}
Expand Down

0 comments on commit 5a9fa88

Please sign in to comment.