Hi, I have attempted to upgrade my Postgres installation this
morning from 9.0.1 to 9.2.0 and it failed with an out of memory problem using
pg_dumpall to dump the first database. So after backing out the change and restarting level 9.0.1, I’ve
done some basic investigation into the failure of the 9.2.0 pg_upgrade by checking
output in pg_upgrade_utility.log ... command:
"/opt/serviceMonitoring/postgres/bin/pg_dumpall" --port 50432
--username "postgres" --schema-only --binary-upgrade -f
pg_upgrade_dump_all.sql >> "pg_upgrade_utility.log" 2>&1 pg_dump: out of memory pg_dumpall: pg_dump failed on database
"cahoot_monitoring", exiting ... rerunning pg_dump_all using existing version 9.0.1 ... "/opt/serviceMonitoring/postgres/bin/pg_dumpall"
--port 65432 --username "postgres" --schema-only
--binary-upgrade -f pg_upgrade_dump_all.sql ... works fine. Try with version 9.2.0 as per pg_upgrade ... "/opt/serviceMonitoring/postgres_9.2/bin/pg_dumpall"
--port 65432 --username "postgres" --schema-only
--binary-upgrade -f pg_upgrade_dump_all.sql pg_dump: out of memory pg_dumpall: pg_dump failed on database
"cahoot_monitoring", exiting ... tail -3 pg_upgrade_dump_all.sql ... \connect cahoot_monitoring ... no help there. Try with version 9.1.5 as per pg_upgrade ... cd /tmp "/opt/serviceMonitoring/postgres_9.1/bin/pg_dumpall"
--port 65432 --username "postgres" --schema-only
--binary-upgrade -f pg_upgrade_dump_all.sql ... works fine. Has anyone else hit this problem ? Matthew Emails aren't always secure, and they may be intercepted or changed |