From: | Andrew Chernow <ac(at)esilo(dot)com> |
---|---|
To: | |
Cc: | Arunachalam Parthasarathy <arunachalamamsam(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: query : max size Bytea |
Date: | 2007-12-20 17:54:05 |
Message-ID: | 476AAC3D.4050200@esilo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Andrew Chernow wrote:
> Arunachalam Parthasarathy wrote:
>> hi,
>> i would request you to answer the following query:
>>
>> 1. What is the maximum size of data single Bytea entry in column?
>>
>> i would be thankful to you for the above request
>> .
>> P.S : my current reqirement is to add more that 1 gb of data in a
>> single entry of type bytea column in each row.
>>
>> Thanks and regards
>> Arunachalam
>>
>> ---------------------------(end of broadcast)---------------------------
>> TIP 4: Have you searched our list archives?
>>
>> http://archives.postgresql.org
>>
>>
>
> bytea uses up to 4 bytes to represent the binary string length (signed
> 32-bit integer). So the max data size is 2G.
>
> http://www.postgresql.org/docs/8.3/static/datatype-binary.html
>
> andrew
>
Sorry, my mistake. Max size is 1G. oops.
andrew
From | Date | Subject | |
---|---|---|---|
Next Message | Pedro Belmino | 2007-12-20 19:55:51 | Problem |
Previous Message | Merlin Moncure | 2007-12-20 17:53:29 | Re: query : max size Bytea |