bytea and text - Mailing list pgsql-novice

From Jean-Yves F. Barbier
Subject bytea and text
Date
Msg-id 4B0E946A.8020905@gmail.com
Whole thread Raw
Responses Re: bytea and text  (Brian Modra <epailty@googlemail.com>)
Re: bytea and text  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-novice
Hi list,

I'm asking myself what solution for storing pictures is the best:

* using a BYTEA column type, and having no intrinsic compression gain
   because a picture it almost every time already compressed,

* using a TEXT column type, and store a Base64(picture) in it; it should
   take benefits of intrinsic compression (?).

JY
--

pgsql-novice by date:

Previous
From: Nathaniel Trellice
Date:
Subject: Re: Bit count
Next
From: Brian Modra
Date:
Subject: Re: bytea and text