pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Grzegorz Jaśkiewicz <gryzman@gmail.com>
To: paulo matadr <saddoness@yahoo.com.br>
Cc: pgsql-general@postgresql.org, admin <pgsql-admin@postgresql.org>
Subject: Re: [GENERAL] bytea size limit?
Date: Wed, 21 Jan 2009 13:55:28 +0000
Message-ID: <2f4958ff0901210555y8b02b8dpa9db2b15873bf23a@mail.gmail.com> (raw)
In-Reply-To: <359812.4771.qm@web52512.mail.re2.yahoo.com>
References: <359812.4771.qm@web52512.mail.re2.yahoo.com>

there's no real limit (its size is described with 32bit number, and
that's the only limitation here).
But you need to be aware, that content is sent over at once, so memory
is the limit in your case.

http://www.postgresql.org/docs/8.3/static/datatype-binary.html

For such large objects, it might be actually better to store them
separate as files, and just store file name.



view thread (14+ messages)  latest in thread

Message-ID: <2f4958ff0901210555y8b02b8dpa9db2b15873bf23a@mail.gmail.com>
Permalink:  ../2f4958ff0901210555y8b02b8dpa9db2b15873bf23a@mail.gmail.com/
Also on:    postgresql.org/message-id/2f4958ff0901210555y8b02b8dpa9db2b15873bf23a@mail.gmail.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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: gryzman@gmail.com, saddoness@yahoo.com.br
  Subject: Re: [GENERAL] bytea size limit?
  In-Reply-To: <2f4958ff0901210555y8b02b8dpa9db2b15873bf23a@mail.gmail.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