Ensure we only print the postgres upgrade message when pg is enabled
Otherwise we were printing the message for users with old PG_VERSION data that wasn't necessarily in use.
Part of improving #5302
Otherwise we were printing the message for users with old PG_VERSION data that wasn't necessarily in use.
Part of improving #5302