Note on how to run scripts as postgres superuser during upgrade