sink-postgres: reconnect if client becomes disconnected
Summary
When running for long periods of time (like in production), the client
may disconnect from the server. This causes all queries to fail and the
indexer to be stuck ~30m until it restarts.
This commit ensures that the client is connected before executing a
query.
sink-postgres: reconnect if client becomes disconnected
Summary When running for long periods of time (like in production), the client may disconnect from the server. This causes all queries to fail and the indexer to be stuck ~30m until it restarts. This commit ensures that the client is connected before executing a query.
release: sink-postgres
Summary sink-postgres: v0.5.1