Re: [HACKERS] off-by-one mistake in array code error reporting

2011-01-31 Thread Itagaki Takahiro
On Mon, Jan 31, 2011 at 17:19, Alexey Klyukin wrote: > While working on PL/Perl patch for arrays as input arguments I've noticed that > PostgreSQL reports one less dimension in the 'number of array dimensions (%d) > exceeds the maximum allowed (%d)", i.e. > > select > '{{{1,2},{3,4}},{{5,6},{

[HACKERS] off-by-one mistake in array code error reporting

2011-01-31 Thread Alexey Klyukin
Hi, While working on PL/Perl patch for arrays as input arguments I've noticed that PostgreSQL reports one less dimension in the 'number of array dimensions (%d) exceeds the maximum allowed (%d)", i.e. select '{{{1,2},{3,4}},{{5,6},{7,8}}},{{{9,10},{11,12}},{{13,14},{15,16,