pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PG Bug reporting form <noreply@postgresql.org>
To: pgsql-bugs@lists.postgresql.org
Cc: konstbozhko@gmail.com
Subject: BUG #16980: invalid memory alloc request size
Date: Fri, 23 Apr 2021 10:10:39 +0000
Message-ID: <16980-0d2064db94c17318@postgresql.org> (raw)

The following bug has been logged on the website:

Bug reference:      16980
Logged by:          Константин Божко
Email address:      konstbozhko@gmail.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?



view thread (3+ messages)  latest in thread

Message-ID: <16980-0d2064db94c17318@postgresql.org>
Permalink:  ../16980-0d2064db94c17318@postgresql.org/
Also on:    postgresql.org/message-id/16980-0d2064db94c17318@postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: noreply@postgresql.org, pgsql-bugs@lists.postgresql.org, konstbozhko@gmail.com
  Subject: Re: BUG #16980: invalid memory alloc request size
  In-Reply-To: <16980-0d2064db94c17318@postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox