The create- file generated by the module will have lines as follows, if the source file does not have an empty line as its first line:
-- test_input/test.pgsqlCREATE MATERIALIZED VIEW test.test_table_mv
whereas it should be regardless of how the file starts:
-- test_input/test.pgsql
CREATE MATERIALIZED VIEW test.test_table_mv
Thanks for the module, I'll get to this soon and send a PR.