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

From: "Roy Wood" <roy(dot)wood(at)clearswift(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: BUG #1915: ERROR: RETURN cannot have a parameter in function returning void at or near "NULL" at character 148
Date: 2005-09-27 14:32:31
Message-ID: 20050927143231.D89CEF0E11@svr2.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs


The following bug has been logged online:

Bug reference: 1915
Logged by: Roy Wood
Email address: roy(dot)wood(at)clearswift(dot)com
PostgreSQL version: 8.1-beta2
Operating system: Win32
Description: ERROR: RETURN cannot have a parameter in function
returning void at or near "NULL" at character 148
Details:

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

This error did not occur on 8.0.2 previously

ERROR: RETURN cannot have a parameter in function returning void at or near
"NULL" at character 1488

Has something changed ... as validation was not previously picking this up
as an error?

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message Tom Lane 2005-09-27 14:37:06 Re: BUG #1913: select into a table missing a row part 2
Previous Message Alvaro Herrera 2005-09-27 12:51:09 Re: BUG #1913: select into a table missing a row part 2