This release fixes critical bugs in the PostgreSQL migration runner that were
causing "unterminated dollar-quoted string" errors when executing migrations
containing PL/pgSQL functions with dollar-quoted string literals.
## Key Fixes
### Enhanced SQL Parsing Logic
- Fixed `split_sql_respecting_quotes` function to properly handle empty dollar tags (`$$...$$`)
- Improved comment filtering to distinguish SQL statements from comment-only blocks
- Enhanced parsing of complex nested structures in dollar-quoted contexts
### Migration 014 Fix
- Resolved "unterminated dollar-quoted string" error in migration 014
- Fixed parsing of PL/pgSQL function definitions with dollar-quoted bodies
- Ensured proper trigger and function creation statements are executed correctly
### Comprehensive Test Coverage
- Added `test_migration_012_sql_parsing` to validate complex transaction parsing
- Added `test_migration_014_sql_parsing` to validate dollar-quoted function parsing
- Added `test_dollar_quoted_string_parsing` for general dollar-quote validation
- Ensured `sqlparser-rs` integration works correctly with PostgreSQL features
## Validation
- All 22 statements in migration 012 now parse correctly
- All 5 statements in migration 014 now parse correctly including PL/pgSQL functions
- Complex SQL features validated: CASE expressions, subqueries, UUID arrays, constraints
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>