[upgrade] update postgres UID in pre script