Re: [BUGS] BUG #2694: Memory allocation error when selecting array

2006-11-06 Thread Tom Lane
Joe Conway <[EMAIL PROTECTED]> writes: > ... But as I've opined before, all of this seems to me to be much cleaner if > arrays were always one-dimensional, and array elements could also be > nested arrays (per SQL 2003). If we said that the cardinality of the > nested array is an integral part o

Re: [BUGS] BUG #2694: Memory allocation error when selecting array

2006-10-29 Thread Joe Conway
Tom Lane wrote: Joe Conway <[EMAIL PROTECTED]> writes: Sorry for the slow response -- I'm at the airport just heading home from a marathon 30 day business trip. Yow. Hope you get some time off... Yeah, I just took a week. Next week I'm back to work and the week after that I'm back to Germa

Re: [BUGS] BUG #2694: Memory allocation error when selecting array

2006-10-18 Thread Tom Lane
Joe Conway <[EMAIL PROTECTED]> writes: > Sorry for the slow response -- I'm at the airport just heading home from > a marathon 30 day business trip. Yow. Hope you get some time off... > Tom Lane wrote: >> "Vitali Stupin" <[EMAIL PROTECTED]> writes: >>> The error "invalid memory alloc request si

Re: [BUGS] BUG #2694: Memory allocation error when selecting array

2006-10-18 Thread Joe Conway
Tom Lane wrote: "Vitali Stupin" <[EMAIL PROTECTED]> writes: The error "invalid memory alloc request size 4294967293" apears when selecting array of empty arrays: select ARRAY['{}'::text[],'{}'::text[]]; I can get a core dump off it too, sometimes. The problem is in ExecEvalArray, which compu

Re: [BUGS] BUG #2694: Memory allocation error when selecting array of empty arrays

2006-10-16 Thread Tom Lane
"Vitali Stupin" <[EMAIL PROTECTED]> writes: > The error "invalid memory alloc request size 4294967293" apears when > selecting array of empty arrays: > select ARRAY['{}'::text[],'{}'::text[]]; I can get a core dump off it too, sometimes. The problem is in ExecEvalArray, which computes the dimensi

[BUGS] BUG #2694: Memory allocation error when selecting array of empty arrays

2006-10-15 Thread Vitali Stupin
The following bug has been logged online: Bug reference: 2694 Logged by: Vitali Stupin Email address: [EMAIL PROTECTED] PostgreSQL version: 8.1.4 Operating system: sparc-sun-solaris2.10 Description:Memory allocation error when selecting array of empty arrays Details: