Re: "create function... depends on extension..." not supported. Why?

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: "create function... depends on extension..." not supported. Why?
Дата
Msg-id 369747.1651067320@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: "create function... depends on extension..." not supported. Why?  (Alvaro Herrera <alvherre@alvh.no-ip.org>)
Список pgsql-general
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> IIRC Abhijit and I discussed this point offline, and our conclusion was
> that DEPENDS ON EXTENSION was not of general enough usefulness to
> warrant support for it in CREATE FUNCTION -- keeping in mind that we
> would need support for it in CREATE INDEX, CREATE TRIGGER, CREATE
> MATERIALIZED VIEW as well.

Yeah.  Quite aside from the code bloat and grammar bloat, my main
fear about that would be the assumption that we could wedge a consistent
syntax for this into all those different sorts of CREATE commands.
At the very least we'd probably find ourselves having to make those
keywords more reserved than they are now.

            regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: errcodes.h and others not generated when compiling 13.6 on M1 Mac
Следующее
От: "Dives, Chloe"
Дата:
Сообщение: Privilege error with c functions during postgresql upgrade from 11 -> 13