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

plpgsql doesn't check a number of expressions and number of target variables correctly

From: Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com>
To: pgsql-bugs(at)postgresql(dot)org
Subject: plpgsql doesn't check a number of expressions and number of target variables correctly
Date: 2012-03-05 19:13:03
Message-ID: CAFj8pRDqYuXZsgxGhXJjVkq4=xA39rZKM_p9_yOuKdjZ+1w3YA@mail.gmail.com (view raw or flat)
Thread:
Lists: 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

Responses

pgsql-bugs by date

Next:From: Alvaro HerreraDate: 2012-03-05 19:16:29
Subject: Re: BUG #6518: archive_command stderr not in log if log_destination=syslog
Previous:From: Tom LaneDate: 2012-03-05 18:22:48
Subject: Re: BUG #6518: archive_command stderr not in log if log_destination=syslog

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