"Ben-Nes Michael" <miki(at)canaan(dot)co(dot)il> writes:
> On the theoretical issue, can I use TEXT field to store binary ?
TEXT will not handle null (zero) bytes. If you are using a multibyte
character set, it will likely also do the wrong thing with byte
sequences that are illegal or incomplete multibyte characters.
Use BYTEA if you want to store arbitrary byte sequences --- that's what
it's for.
regards, tom lane