From: | Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com> |
---|---|
To: | Naoko Reeves <naokoreeves(at)gmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: invalid memory alloc request size 1765277700 Error Question |
Date: | 2012-02-24 20:25:18 |
Message-ID: | CAOR=d=1+6y2dKSyZQpeoc=4WpikT5b+saMoaN67TTH9__wX8SQ@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Fri, Feb 24, 2012 at 4:01 AM, Naoko Reeves <naokoreeves(at)gmail(dot)com> wrote:
> -- I have narrowed down the row
> SELECT * FROM table ORDER BY table_id OFFSET 526199 LIMIT 1 -- ERROR:
> invalid memory alloc request size 1765277700
Are you certain that offset 526199 is using both the same query plan
and doesn't produce this error?
> -- I was able to view a few columns
> SELECT table_id, table_column1, table_column2 FROm table ORDER BY table_id
> OFFSET 526199 LIMIT 1 -- returns one row table_id = 12345
> -- using that id to SELECT ALL. It shows fine...I was assuming this will
> give me same error...
> SELECT * FROM table WHERE table_id=12345 -- shows perfectly
> -- This also returns value just fine
> SELECT table_column3 FROM table WHERE table_id = 12345
> -- However this returns an error
> SELECT table_column3 FROm table ORDER BY table_id OFFSET 526199 LIMIT 1
> --error ERROR: invalid memory alloc request size 1765277700
If you do select <col_list> from table
where col_list is all cols except col3 do you get the error? What
type of col is col3?
From | Date | Subject | |
---|---|---|---|
Next Message | Scott Marlowe | 2012-02-24 20:31:34 | Re: Re: When I try to connect to a database, I get the following error : psql teleflowdb8 |
Previous Message | Igor Neyman | 2012-02-24 19:58:09 | Re: Stability in Windows? |