BUG #16980: invalid memory alloc request size

From: PG Bug reporting form <noreply(at)postgresql(dot)org>
To: pgsql-bugs(at)lists(dot)postgresql(dot)org
Cc: konstbozhko(at)gmail(dot)com
Subject: BUG #16980: invalid memory alloc request size
Date: 2021-04-23 10:10:39
Message-ID: 16980-0d2064db94c17318@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

The following bug has been logged on the website:

Bug reference: 16980
Logged by: Константин Божко
Email address: konstbozhko(at)gmail(dot)com
PostgreSQL version: 11.11
Operating system: CentOS Linux release 7.7.1908 (Core)
Description:

Hello!

I have a table attachment_contents in my PostgreSQL database with bytea type
column. One cell of this bytea column is too big (appr. 900Mb).
I receive error when try to select this cell:

taxmon=> select content from attachment_contents where attachment_id =
3293;
ERROR: invalid memory alloc request size 1850079891

any other is OK. The problem is with this cell only.

How can i avoid this problem?

Responses

Browse pgsql-bugs by date

  From Date Subject
Next Message PG Bug reporting form 2021-04-23 10:54:43 BUG #16981: pg_dump errors out with incompatible option set but empty tar dump file is created as result
Previous Message RekGRpth 2021-04-23 06:42:05 Re: BUG #16974: memory leak