What are the requirements for a pool fence?

Pool fences require a permit prior to the start of construction. No water shall be put into a pool before a permit is issued and a proper fence is constructed.