There are at least a couple of reasons you might get an error that reads “function nth_value(numeric) does not exist” in PostgreSQL.
It could be that you’re calling the nth_value()
function without the correct number of arguments. It could also be that you’re passing the wrong argument type.
To fix this issue, be sure to pass the correct number of arguments, with the correct type.
Continue reading