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