plpgsql doesn't check a number of expressions and number of target variables correctly - Mailing list pgsql-bugs

From Pavel Stehule
Subject plpgsql doesn't check a number of expressions and number of target variables correctly
Date
Msg-id CAFj8pRDqYuXZsgxGhXJjVkq4=xA39rZKM_p9_yOuKdjZ+1w3YA@mail.gmail.com
Whole thread Raw
Responses Re: plpgsql doesn't check a number of expressions and number of target variables correctly
List pgsql-bugs
Hello

I found a plpgsql bug:

create or replace function fx()
returns void as $$
declare a int; b int;
begin
  select 10,20 into a;
end;
$$ language plpgsql;

this is bug, or minimally potential source of strange behave.

Regards

Pavel Stehule

pgsql-bugs by date:

Previous
From: Tom Lane
Date:
Subject: Re: BUG #6518: archive_command stderr not in log if log_destination=syslog
Next
From: Alvaro Herrera
Date:
Subject: Re: BUG #6518: archive_command stderr not in log if log_destination=syslog