The city of Toronto requires a pool enclosure of non-climbable height (chain-link, wood) at a minimum of 1.2 meters surrounding the pool area for all single residential properties. All entrances to the pool-area require a self closing door/gate.
View the links below for further information
TORONTO MUNICIPAL CODE CHAPTER 447, FENCES
City of Toronto Pool Construction application