Is there a way we could export the results as a json file or something
similar? If there is (or if it could be added without too much
trouble), we would have multiple options:
1. Dump the contents of the current db, do a partial offline migration
and finish it during the upgrade outage by export/importing the
newest data, deleting the production db and importing the offline
upgraded db. If that still takes too long, create a second postgres
db containing the offline upgrade, switchover during the outage and
import the new results since the db was copied.
2. If the import/export process is fast enough, might be able to do
instead of the inplace migration