Hi, If you give me more details of how your patio and / or the brick wall is, I may be able to help you. How long is the fence you wanna extent ( linear feet ) and what is behind the brick wall. Also why you want the fence extended ? 1) privacy ? 2) screen an unsightly view ? 3) security ? 4) beautify the property ?
Advise No 1. Get an estimate from a local contractor then ask how is going to install it in the brick.