pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Shkola, Roman <roman.shkola@siemens.com>
To: support@enterprisedb.com <support@enterprisedb.com>
To: pgsql-bugs@lists.postgresql.org <pgsql-bugs@lists.postgresql.org>
Cc: vigen.stepanian@siemens.com <vigen.stepanian@siemens.com>
Cc: Freudenberger, Peter <peter.freudenberger@siemens.com>
Subject: BYTEA data type problem
Date: Wed, 21 Nov 2018 10:24:12 +0000
Message-ID: <AM4PR1001MB1284080FE140548F158BFE779CDA0@AM4PR1001MB1284.EURPRD10.PROD.OUTLOOK.COM> (raw)

Hello,

There is written in the documentation, that PostgreSQL is able to work with files stored in BYTEA column up to 1GB.
It is possible to write such a huge file there, but not read it then.
I always get an exception:

ERROR:  invalid memory alloc request size 18446744072511736321
SQL state: XX000

Any solution?

With best regards,
Bc. Roman Shkola

Siemens, s.r.o.
RC-CZ MO EN-SW
Siemensova 1
155 00 Praha, Czech Republic
Mobile: +420 727 909 714
mailto:roman.shkola@siemens.com
[www.siemens.com/ingenuityforlife]

Attachments:

image001.gif (image/gif, 3.5K) download view image

Message-ID: <AM4PR1001MB1284080FE140548F158BFE779CDA0@AM4PR1001MB1284.EURPRD10.PROD.OUTLOOK.COM>
Permalink:  ../AM4PR1001MB1284080FE140548F158BFE779CDA0@AM4PR1001MB1284.EURPRD10.PROD.OUTLOOK.COM/
Also on:    postgresql.org/message-id/AM4PR1001MB1284080FE140548F158BFE779CDA0@AM4PR1001MB1284.EURPRD10.PROD.OUTLOOK.COM

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: roman.shkola@siemens.com, support@enterprisedb.com, vigen.stepanian@siemens.com, peter.freudenberger@siemens.com
  Subject: Re: BYTEA data type problem
  In-Reply-To: <AM4PR1001MB1284080FE140548F158BFE779CDA0@AM4PR1001MB1284.EURPRD10.PROD.OUTLOOK.COM>
  References: <AM4PR1001MB1284080FE140548F158BFE779CDA0@AM4PR1001MB1284.EURPRD10.PROD.OUTLOOK.COM>

* 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