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

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 (view raw or flat)
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

pgsql-bugs by date

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

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