7.4 beta1 plpgsql regression - Mailing list pgsql-hackers

From Rod Taylor
Subject 7.4 beta1 plpgsql regression
Date
Msg-id 1060811712.11688.85.camel@jester
Whole thread Raw
Responses Re: 7.4 beta1 plpgsql regression
List pgsql-hackers
The below function works in 7.3 (returns nothing, but no errors).

rbttest=# begin;
BEGIN
rbttest=# create or replace function service.test(integer)
rbttest-#   returns setof service.service
rbttest-# as '
rbttest'# declare
rbttest'#   v_service service.service%rowtype;
rbttest'#
rbttest'# begin
rbttest'#
rbttest'#
rbttest'#   return;
rbttest'# end;
rbttest'# ' language plpgsql;
CREATE FUNCTION
rbttest=# select * from service.test(1);
ERROR:  cache lookup failed for type 0
CONTEXT:  compile of PL/pgSQL function "test" near line 2



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Speeding up operations
Next
From: Bruce Momjian
Date:
Subject: Re: [BUGS] 7.4 beta 1: SET log_statement=false