NullPointerException with PostgreSQL CREATE RULE statements #2202
Which version and edition of Flyway are you using?
Flyway Community Edition 5.2.1 by Boxfuse
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Command-line and Java API.
Which database are you using (type & version)?
Which operating system are you using?
Mac OS, Linux.
What did you do?
The following migration
What did you expect to see?
A successful migration as the RULE syntax is valid and accepted by PostgreSQL.
What did you see instead?
The exception disappears if a terminating semicolon is included inside the rule. This appears to be a regression since version 5.0.7.
On a related note, the following migration causes a null pointer exception at the same place:
This despite there being a final semicolon. This case appears to be related to the literal length of the statement.
The text was updated successfully, but these errors were encountered: