How do I prevent changes to my PostgreSQL database?
One work-around: 

Change the port of PostgreSQL on prod-server-old. This way it is unlikely that clients connect to the DB during pg_dumpall --port=OTHER_PORT.