Store base64 in database. Use bytea or text?

From: Andre Lopes <lopes80andre(at)gmail(dot)com>
To: postgresql Forums <pgsql-general(at)postgresql(dot)org>
Subject: Store base64 in database. Use bytea or text?
Date: 2011-01-25 22:27:28
Message-ID: AANLkTinNdpVjVNeAR2qbc1hNKoROzr9Ap3VpTmet8LXp@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi,

I need to put some images on Base64 in a PostgreSQL database. Wich
type should I use and what is the difference between using bytea or
text to store Base64?

Best Regards,

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bill Moran 2011-01-25 22:31:33 Re: Store base64 in database. Use bytea or text?
Previous Message Cédric Villemain 2011-01-25 22:13:39 Re: Postgresql as a dictionary coder backend?