Switching back to the old version of the pool and SSH tunnel until some connection issues found in the new version are resolved.
For upsert, added enhanced handling for changes to column data types.