Re: ERROR: control reached end of function without RETURN

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Ignacio Colmenero" <ignacio(dot)colmenero(at)micotan(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: ERROR: control reached end of function without RETURN
Date: 2005-02-11 19:28:13
Message-ID: 12914.1108150093@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Ignacio Colmenero" <ignacio(dot)colmenero(at)micotan(dot)com> writes:
> I get the error: ERROR: control reached end of function without RETURN

> What can be wrong?

You don't have a RETURN statement.

regards, tom lane

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2005-02-11 19:32:31 Re: test datatype for ANY
Previous Message Michael Fuhr 2005-02-11 19:06:22 Re: test datatype for ANY