Re: invalid memory alloc request size 18446744073709551614

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: invalid memory alloc request size 18446744073709551614
Дата
Msg-id 30967.1454514460@sss.pgh.pa.us
обсуждение исходный текст
Ответ на invalid memory alloc request size 18446744073709551614  (clingareddy@vsoftcorp.com)
Список pgsql-admin
clingareddy@vsoftcorp.com writes:
> While running a Query in PostgreSQL i am getting below error.

> 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_1a  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_IDAND a.BLK_NUM = b.BLK_NUM AND a.BCH_NUM = b.BCH_NUM ) 

> invalid memory alloc request size 18446744073709551614

Standard Postgres contains neither any nvl() function nor a four-argument
version of decode().  A theory worth considering therefore is that this
is a bug in whatever extension is providing those functions.  If, as I
suspect, you're running EDB's version of Postgres, you would be well
advised to turn to them for support.

            regards, tom lane



В списке pgsql-admin по дате отправления:

Предыдущее
От: "Gunnar \"Nick\" Bluth"
Дата:
Сообщение: Re: invalid memory alloc request size 18446744073709551614
Следующее
От: Keith
Дата:
Сообщение: Re: Re: Postgres 9.4 unlogged table. Under any circumstance after server crash would data persist?