invalid memory alloc request size 18446744073709551614

From: clingareddy(at)vsoftcorp(dot)com
To: pgsql-admin(at)postgresql(dot)org
Cc: "Chandra Kiran Lingareddy" <clingareddy(at)vsoftcorp(dot)com>
Subject: invalid memory alloc request size 18446744073709551614
Date: 2016-02-03 10:45:10
Message-ID: 1454496310.031717503@apps.rackspace.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin


Hi Team,

While running a Query in PostgreSQL i am getting below error.


Query:


SELECT count(1) ,SUM (DECODE(cr_ind, 'Y', NVL(numeric_amt, 0), 0)) cr_amt, SUM (DECODE(cr_ind, 'Y', 0, NVL(numeric_amt, 0))) db_amt , sum(decode(cr_ind, 'Y', 1, 0)) cr_cnt, sum(decode(cr_ind, 'Y', 0, 1)) db_cnt FROM ITEM_2015_1 a WHERE a.NUMERIC_AMT = 13066.00 and NVL(a.FLD_6_NUM,0) = 000014 and a.BUS_DATE = to_date('11212015','mmddyyyy') AND EXISTS (SELECT 1 FROM batch_master b WHERE a.BUS_DATE = b..BUS_DATE AND a.JOB_ID = b.JOB_ID AND a.BLK_NUM = b.BLK_NUM AND a.BCH_NUM = b.BCH_NUM )


Error:

invalid memory alloc request size 18446744073709551614
Severity: ERROR
Code: XX000


Thanks,
Chandra kiran.

Please do not print this email unless it is absolutely necessary.

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to which they are addressed. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail and destroy all copies of this message and any attachments. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.

Warning: Although the company has taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments.

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Stephen Tahmosh 2016-02-03 12:30:43 Postgres 9.4 unlogged table. Under any circumstance after server crash would data persist?
Previous Message Thorsten Schöning 2016-02-03 09:41:26 Re: Questions regarding handling of Postgres' stats data in case of tmpfs