I know my sketch is pretty rough but I want to add a pergola like this to my rooftop deck. I obviously can't sink the posts into the ground. What is a recommended way of attaching the posts? I was thinking of using one of these post brackets and then bracing it at the railing with additional L-brackets.
Also, I would like attach the ledger to the wall but it is hollow block. Is there a safe way to do that? I've heard it doesn't have much lateral "pull out" strength.
I'm pretty rookie so any advice would be great. My only other real project is that table and benches in the background there.