Re: [BUGS] BUG #7943: plpgsql parsing bug

2013-03-15 Thread Rikard Pavelic
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 15.3.2013. 4:49, Tom Lane wrote: > > [ shrug ... ] It's right: _t1 is not a scalar variable. (It has > the composite type s.) > > The reason this is problematic is that writing a composite variable as > the target of a FOR IN SELECT loop is define

Re: [BUGS] BUG #7943: plpgsql parsing bug

2013-03-14 Thread Tom Lane
rik...@ngs.hr writes: > The following bug has been logged on the website: > Bug reference: 7943 > Logged by: Rikard Pavelic > Email address: rik...@ngs.hr > PostgreSQL version: 9.2.1 > Operating system: Windows 7 > Description: > ERROR: "_t1" is not a scalar variable

[BUGS] BUG #7943: plpgsql parsing bug

2013-03-14 Thread rikard
The following bug has been logged on the website: Bug reference: 7943 Logged by: Rikard Pavelic Email address: rik...@ngs.hr PostgreSQL version: 9.2.1 Operating system: Windows 7 Description: ERROR: "_t1" is not a scalar variable LINE 12: for _i1, _i2, _t1, _t2, _t3,