pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: knuazev@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #18775: PQgetCopyData always has an out-of-memory error if the table field stores bytea ~700 MB
Date: Thu, 16 Jan 2025 11:02:59 -0500
Message-ID: <1623899.1737043379@sss.pgh.pa.us> (raw)
In-Reply-To: <18775-e6af405ca08393cc@postgresql.org>
References: <18775-e6af405ca08393cc@postgresql.org>

PG Bug reporting form <noreply@postgresql.org> writes:
> Hello, I need your help. The essence of the problem is that I am trying to
> download a bytea field from a table row. The size of the data in the field
> is about 700 MB. In response, I receive an out-of-memory error.

I don't see this as a Postgres bug.  If you want to work with values
that large, you'd better have plenty of memory available.

			regards, tom lane





view thread (4+ messages)  latest in thread

Message-ID: <1623899.1737043379@sss.pgh.pa.us>
Permalink:  ../1623899.1737043379@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1623899.1737043379@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, knuazev@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #18775: PQgetCopyData always has an out-of-memory error if the table field stores bytea ~700 MB
  In-Reply-To: <1623899.1737043379@sss.pgh.pa.us>

* 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