diff --git a/src/main/java/cz/startnet/utils/pgdiff/loader/PgDumpLoader.java b/src/main/java/cz/startnet/utils/pgdiff/loader/PgDumpLoader.java index d5d3c861..db20c176 100644 --- a/src/main/java/cz/startnet/utils/pgdiff/loader/PgDumpLoader.java +++ b/src/main/java/cz/startnet/utils/pgdiff/loader/PgDumpLoader.java @@ -341,6 +341,12 @@ private static void stripComment(final StringBuilder sbStatement) { pos = sbStatement.indexOf("--", pos + 1); } + + int endPos = sbStatement.indexOf("*/"); + if (endPos >= 0) { + int startPos = sbStatement.indexOf("/*"); + sbStatement.replace(startPos, endPos + 2, ""); + } } /**