When building a deck or fence, use the appropriate size screws instead of nails. In doing so, you can easily remove and replace the boards without damaging either the posts or the post rails and it's a much easier job to do that way, too!
For example, one time we needed to remove a section of the fence for a hot tub delivery. Another time, we needed to remove just enough boards to slide a very large backyard glass top table through that we couldn't maneuver through the gate. And yet one other time, we needed to remove a few boards from the deck floor for access to do a hot tub wiring repair.
I don't remember the cost difference between a box of nails and a box screws but it wasn't much and ended up being worth it in the long run.
This page contains the following solutions.
Building a fence is a long-term investment, so it's important to choose a material and design style that enhances your home and garden. It's also important to be realistic about future repair costs and how much regular maintenance you're willing to take on.