Unfortunately it is not possible to do it in SQL in PostgreSQL, at least not using JDBC (it is only possible to write it in psql scripting language in some ugly way).
Does Liquibase design allow to write a custom tag that results not in a fixed sequence of SQL statements, but to an interactive one, such as "run the following SQL repeatedly until it returns 0" or "run this SQL, if it failed run that one" ?
Does Liquibase design allow to write a custom tag that results not in a fixed sequence of SQL statements, but to an interactive one, such as "run the following SQL repeatedly until it returns 0" or "run this SQL, if it failed run that one" ?