jackc / tern

The SQL Fan's Migrator
MIT License
850 stars 66 forks source link

Handle dollar-quoted strings when splitting SQL statements #97

Closed kszafran closed 1 month ago

kszafran commented 1 month ago

We noticed that dollar-quoted strings weren't handled correctly when splitting SQL statements. This made it impossible to include e.g. anonymous code blocks in migrations.

jackc commented 1 month ago

Thanks!