Error Code Portal
PostgreSQLPostgreSQLError code

2F005

function executed no return statement

Alternative forms: function_executed_no_return_statement

Code 2F005 · An issue reported by PostgreSQL.

function_executed_no_return_statement (Class 2F — SQL Routine Exception)

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.