Moving ingestion work over to postgres.