Re: Greatest Common Divisor

Поиск
Список
Период
Сортировка
От Alvaro Herrera
Тема Re: Greatest Common Divisor
Дата
Msg-id 20200103223131.GA30702@alvherre.pgsql
обсуждение исходный текст
Ответ на Re: Greatest Common Divisor  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: Greatest Common Divisor
Список pgsql-hackers
On 2020-Jan-03, Robert Haas wrote:

> On Fri, Jan 3, 2020 at 4:11 PM Alvaro Herrera <alvherre@2ndquadrant.com> wrote:
> > Maybe a very simple solution is indeed to have a separate pg_math or
> > pg_extra or whatever, which by default is *last* in the search_path.
> > That would make a user's gcd() be chosen preferently, if one exists.
> 
> Then every time we add a function, or anything else, we can bikeshed
> about whether it should go in pg_catalog or pg_extra!

Yeah, I was just thinking about that :-)  I was thinking that all
standard-mandated functions, as well as system functions, should be in
pg_catalog; and otherwise stuff should not get in the user's way.

> FWIW, EnterpriseDB has something like this for Advanced Server, and it
> actually adds a fair amount of complexity, much of it around
> OverrideSearchPath. It's not unmanageable, but it's not trivial,
> either.

Oh, hmm.  okay.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: Greatest Common Divisor
Следующее
От: Vik Fearing
Дата:
Сообщение: Re: Greatest Common Divisor