PG Bug reporting form <noreply(at)postgresql(dot)org> writes:
> The two-argument numeric logarithm returns +Infinity for x = Infinity
> regardless of the base. For bases between 0 and 1 the correct result is
> -Infinity, and for base 1 the call should be rejected.
Thanks for the report, but this was already reported and fixed
a couple weeks ago:
https://git.postgresql.org/gitweb/?a=commitdiff&h=94e1385ed&p=postgresql.git
regards, tom lane