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.