Re: Add missing function abs (interval)
От | John Naylor |
---|---|
Тема | Re: Add missing function abs (interval) |
Дата | |
Msg-id | CAFBsxsEcgHzkOnK=X68W8NFCZH7BuHGx5ufE1dKZxxmCtuyqRw@mail.gmail.com обсуждение исходный текст |
Ответ на | Add missing function abs (interval) (Isaac Morland <isaac.morland@gmail.com>) |
Ответы |
Re: Add missing function abs (interval)
|
Список | pgsql-hackers |
On Mon, Mar 29, 2021 at 3:33 PM Isaac Morland <isaac.morland@gmail.com> wrote:
>
> On a newly set up system there are 7 types with a unary minus operator defined, but only 6 of them have an abs function:
>
...
> Would a patch to add a function with this behaviour to the initial database be welcome?
Looking in the archives, I see this attempt that you can build upon:
> If so, should I implement it essentially like the above, or as an internal function? I've noticed that even when it seems like it might be reasonable to implement a built-in function as an SQL function they tend to be internal.
В списке pgsql-hackers по дате отправления: