Skip site navigation (1) Skip section navigation (2)

Re: BUG #1915: ERROR: RETURN cannot have a parameter in function returning void at or near "NULL" at character 148

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Roy Wood" <roy(dot)wood(at)clearswift(dot)com>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: BUG #1915: ERROR: RETURN cannot have a parameter in function returning void at or near "NULL" at character 148
Date: 2005-09-28 14:36:43
Message-ID: 6244.1127918203@sss.pgh.pa.us (view raw or flat)
Thread:
Lists: pgsql-bugs
"Roy Wood" <roy(dot)wood(at)clearswift(dot)com> writes:
> Description:        ERROR:  RETURN cannot have a parameter in function
> returning void at or near "NULL" at character 148

> Obtained this error creating a Function which contained 'RETURN NULL;' on
> the new 8.1-beta2

The complaint seems valid to me...

			regards, tom lane

In response to

pgsql-bugs by date

Next:From: Kevin GrittnerDate: 2005-09-28 15:07:11
Subject: Re: BUG #1916: selection criteria from one outer join
Previous:From: Tom LaneDate: 2005-09-28 14:35:39
Subject: Re: Postgresql problem in AIX 5.3

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group