When the Marriage Equality Bill passes its final vote in Parliament, possibly tonight, it will signify a marked social change. Less than a decade ago Helen Clark's Government dared not extend the definition of marriage to same-sex couples, offering them a legal equivalent called civil union. Since then, public opinion has undergone a sea change.
It has happened not only in New Zealand but in Australia, the United States and Europe. Quite suddenly, most people have come around to the view that homosexual commitments deserve equal recognition.
Leadership has helped. When President Obama declared his support for the cause, he probably knew from polling that it would no longer bring public wrath down upon him. In this country, John Key's support removed much of the conservative opposition that the bill sponsored by Labour's Louisa Wall might have met.
Its passage through Parliament has been unusually smooth by comparison with most "conscience issues" that allow MPs a free vote. No member of the House has become identified as a campaigner against it.
Outside Parliament, though, the debate has not been one-sided. Thoughtful contributions to our opinion pages have argued that marriage between a man and a woman is too important to social cohesion for its heterosexual definition to be lost. Marriage, they said, is not simply a declaration of love and commitment, it is the legitimation of procreation and the formation of families.