Re: Should we allow ALTER OPERATOR CLASS to ADD/DROP operators and procedures?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Should we allow ALTER OPERATOR CLASS to ADD/DROP operators and procedures?
Дата
Msg-id 1328356.1738887309@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Should we allow ALTER OPERATOR CLASS to ADD/DROP operators and procedures?  (Tomas Vondra <tomas@vondra.me>)
Список pgsql-hackers
Tomas Vondra <tomas@vondra.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



В списке pgsql-hackers по дате отправления: