Re: [GENERAL] bytea size limit?

From: Grzegorz Jaśkiewicz <gryzman(at)gmail(dot)com>
To: paulo matadr <saddoness(at)yahoo(dot)com(dot)br>
Cc: pgsql-general(at)postgresql(dot)org, admin <pgsql-admin(at)postgresql(dot)org>
Subject: Re: [GENERAL] bytea size limit?
Date: 2009-01-21 13:55:28
Message-ID: 2f4958ff0901210555y8b02b8dpa9db2b15873bf23a@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin pgsql-general

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.

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Kenneth Marshall 2009-01-21 14:06:23 Re: [GENERAL] bytea size limit?
Previous Message Kenneth Marshall 2009-01-21 13:54:45 Re: bytea size limit?

Browse pgsql-general by date

  From Date Subject
Next Message Kenneth Marshall 2009-01-21 14:06:23 Re: [GENERAL] bytea size limit?
Previous Message Kenneth Marshall 2009-01-21 13:54:45 Re: bytea size limit?