Skip to content

Commit

Permalink
Fix to parse a quoted-string with '$$' in PostgreSQL. (fixes #135)
Browse files Browse the repository at this point in the history
  • Loading branch information
fukamachi committed Mar 5, 2024
1 parent 53250af commit 174ec12
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/migration/sql-parse.lisp
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
(+ (or (not #\$)
(and #\\ #\$)))
pg-dollar-sign))
(:destructure (d1 content d2)
(format nil "~A~A~A" d1 (coerce content 'string) d2)))
(:text t))

(defrule space (or #\Space #\Newline #\Return #\Tab))

Expand Down

0 comments on commit 174ec12

Please sign in to comment.