pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kenneth Marshall <ktm@rice.edu>
To: paulo matadr <saddoness@yahoo.com.br>
Cc: pgsql-general@postgresql.org, admin <pgsql-admin@postgresql.org>
Subject: Re: bytea size limit?
Date: Wed, 21 Jan 2009 07:54:45 -0600
Message-ID: <20090121135445.GF14570@it.is.rice.edu> (raw)
In-Reply-To: <359812.4771.qm@web52512.mail.re2.yahoo.com>
References: <359812.4771.qm@web52512.mail.re2.yahoo.com>

On Wed, Jan 21, 2009 at 05:21:03AM -0800, paulo matadr wrote:
> I everyone, need help!!!
> My aplication return erro:
> 
> 2009-01-20 10:22:03,264 INFO  [STDOUT] Caused by: org.postgresql.util.
> PSQLException: ERROR: invalid memory alloc request size 1705447581
> 
>  TABLE batch.relatorio_gerado
> 
>   rege_id integer NOT NULL,
>   fuin_id integer NOT NULL,
>   rela_id integer NOT NULL,
>   rege_tmultimaalteracao timestamp without time zone NOT NULL DEFAULT now(),
>   rege_nnpaginas integer NOT NULL,
>   rege_binario bytea,
>  rege_pdf bytea
> 
> I get this erro above  refers the column "rege_pdf bytea"   , when try generate report in pdf.
> 
> thanks for help
> 

I believe that the default size limit for a bytea or text field is
currently 1GB.

Ken



view thread (14+ messages)  latest in thread

Message-ID: <20090121135445.GF14570@it.is.rice.edu>
Permalink:  ../20090121135445.GF14570@it.is.rice.edu/
Also on:    postgresql.org/message-id/20090121135445.GF14570@it.is.rice.edu

 · 

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-admin@postgresql.org
  Cc: ktm@rice.edu, saddoness@yahoo.com.br
  Subject: Re: bytea size limit?
  In-Reply-To: <20090121135445.GF14570@it.is.rice.edu>

* 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