Non-zero error code when querying multiple schemas
Brought to you by:
johncurrier
When inspecting multiple schemas (i.e. using the '-all' or '-schemas "schema1,schema2"' option), SchemaSpy's main program entry point will always return a non-zero error code of 1 even if the process succeeds.
This is due to a limitation of the SchemaAnalyzer.analyze return type.
I've attached a patch will fixes this issue while still ensuring that an error code of 1 will occur as originally intended.
I've successfully tested this on OS-X against a PostgreSQL v9.5 database with 7 schemas.
Corrected patch is
schemaspy_bug193_patch.diffHi Bijan Vakili
Please verify version https://github.com/schemaspy/schemaspy/releases,
Could you create Pull Request on this new SchemaSpy version http://schemaspy.org/
Best Regards
Rafal