log(b numeric, x numeric) logarithm to base b
postgres=# -- log(b numeric, x numeric) logarithm to base b postgres=# postgres=# select log(2.0, 64.0); log -------------------- 6.0000000000000000 (1 row) postgres=#