I tried to combine postgres_output value with postgres_rewrite no_rows =404 to achieve returning the single value that is returned by postgres or a 404 error when nothing is returned. However, this results in a server error 500 because postgres_output value expects exactly 1 value but received 0.
I tried to combine
postgres_output valuewithpostgres_rewrite no_rows =404to achieve returning the single value that is returned by postgres or a 404 error when nothing is returned. However, this results in a server error 500 becausepostgres_output valueexpects exactly 1 value but received 0.