Future extensions and upgrades to Adelaide’s rail network will be investigated under funding allocated in South Australia’s budget.