pgosm-flex
pgosm-flex copied to clipboard
Revert output string parsing to detect broken replication
Details
The approach I took in https://github.com/rustprooflabs/pgosm-flex/pull/392 to fix https://github.com/rustprooflabs/pgosm-flex/pull/391 was a result of getting an invalid returncode=0 when there was an error.
Hoping that https://github.com/osm2pgsql-dev/osm2pgsql/issues/2206 can lead to getting the returncode set properly. If it does, the line parsing for specific error text can be removed.
This one will be ready to work on after https://github.com/osmcode/pyosmium/issues/257 is closed.