COPY ... FROM fails if run after a single-line comment #2143
Milestone
Comments
It turns out that if I add an empty line between the comment on line 1 and the This seems like a simple parsing bug to me because (to my understanding) Flyway does not require an empty line after comments. |
axelfontaine
pushed a commit
to flyway/flywaydb.org
that referenced
this issue
Sep 18, 2018
Good catch! That was it indeed. Fixed. |
dohrayme
pushed a commit
to dohrayme/flyway
that referenced
this issue
Feb 3, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Which version and edition of Flyway are you using?
5.1.4
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Java API
Which database are you using (type & version)?
Postgresql 10.5
Which operating system are you using?
Microsoft Windows [Version 10.0.17134.285]
What did you do?
Ran SQL migration file containing:
What did you expect to see?
Statement ran successfully
What did you see instead?
The text was updated successfully, but these errors were encountered: