Lists: | pgsql-hackers |
---|
From: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | cassert: array size exceeds the maximum allowed (134217727) |
Date: | 2009-06-19 21:27:53 |
Message-ID: | b42b73150906191427l1b746be6q8f08d119c198474a@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
I'm getting a failed assertion on 8.4b1. With cassert off it crashes
the postmaster. The assertion is:
ERROR: array size exceeds the maximum allowed (134217727)
Here is the query:
select * from (select generate_series(1,500) as id) c left outer
join foo_status a on c.id = a.id;
note: replacing generate_series with table still gives the error.
create or replace view foo_status as
select * from
(
select foo_id as id,
array_to_string(array_agg(jc.name), ', ') as jc_list
from foo_session
left join (select * from bat where finished is null) q
using (foo_id)
left join bar using (bar_id)
left join baz jc using (baz_id)
where stop is null
group by id, session_start, adb_pid
) q;
all the tables are quite small. foo status runs fine normally and
returns in a couple of msec.
merlin
From: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: cassert: array size exceeds the maximum allowed (134217727) |
Date: | 2009-06-19 21:30:37 |
Message-ID: | b42b73150906191430s46169404r4750377b1f12cd99@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
On Fri, Jun 19, 2009 at 5:27 PM, Merlin Moncure<mmoncure(at)gmail(dot)com> wrote:
> I'm getting a failed assertion on 8.4b1. With cassert off it crashes
correction: I'm getting this on 8.4rc1 :-).
merlin
From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
---|---|
To: | Merlin Moncure <mmoncure(at)gmail(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: cassert: array size exceeds the maximum allowed (134217727) |
Date: | 2009-06-19 21:33:46 |
Message-ID: | 15883.1245447226@sss.pgh.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers |
Merlin Moncure <mmoncure(at)gmail(dot)com> writes:
> I'm getting a failed assertion on 8.4b1. With cassert off it crashes
> the postmaster. The assertion is:
> ERROR: array size exceeds the maximum allowed (134217727)
Could we have a complete example, not just part of one?
regards, tom lane