Doh.. 🤦♂️
On Fri, 26 Feb 2021, 16:55 Tom Lane, <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> > for example log(1, 10) gives division by zero error whereas log10(1)
> gives 0
>
> I think you have the arguments backwards: the equivalent
> computation is log(10, 1) not log(1, 10).
>
> regards, tom lane
>