title: Liquibase : unterminated dollar-quoted string at or near $BODY$
body: <p>Hi I'm struggling with the issue from the topic. I have the following changeset: </p>
  
  <pre><code> &lt;changeSet author="artur" id="storedProcedures-0003"&gt;
  
          &lt;sqlFile dbms="postgresql"
                   encoding="utf8"
                   path="server/sql/storedProcedures/postgresql/procedure.sql"
                   relativeToChangelogFile="true"
                   splitStatements="false"
          /&gt;
      &lt;/changeSet&gt;
  </code></pre>
  
  <p>My procedure is :</p>
  
  <pre><code>CREATE FUNCTION testProc(oRefCursor          OUT  REFCURSOR)
  
  AS $BODY$
  DECLARE
      minLevel        INTEGER;
      defDcId         DECIMAL(19);
  BEGIN
  
  END;
  $BODY$ LANGUAGE plpgsql;
  </code></pre>
  
  <p>This procedure works fine with pgAdmin tool, but in liquibase i always got the error. I was trying to find and answer but nor <a href="https://stackoverflow.com/a/35907660/3153769%22this%22">this</a> and <a href="https://stackoverflow.com/a/21992046/3153769">this</a> works for me. I have this procedure in seprate file, I use a <code>splitStatements="false"</code> but nothing helps. I always get this error. Does anyone know a workaround for this issue (is this Liquibase issue ?). I was trying to write this in one line, i was trying use a slashes but without success.</p>