Tomas Vondra <tomas(at)vondra(dot)me> writes:
> Which is why PostGIS devs chose a different path - updating the catalogs
> to modify the opclass definition [3], using this script [4].
> That's a bit ... terrifying.
Indeed. Did it not occur to them to use ALTER OPERATOR FAMILY?
The end result of doing so is that the added opfamily members
wouldn't have been bound tightly to the opclass, but that does
not seem like a huge deal in context. They'd still have worked
fine AFAIK.
regards, tom lane