Thread: BYTEA data type problem

BYTEA data type problem

From
"Shkola, Roman"
Date:

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

 

Attachment