It generates statements like
- UPDATE network SET name = 'ben' WHERE id = 3;
- IF not found THEN
- INSERT INTO network (id, name) VALUES (3, 'ben');
- END IF;
- LANGUAGE plpgsql;
Has anyone else seen this? Is there a workaround?
org.postgresql.util.PSQLException: ERROR: syntax error at or near “DO”
I’ve also tried running the SQL generated by updateSQL, and it throws at the same place in psql.
I’m on Liquibase 2.0.