Re: Can I Save images in postgres?

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Can I Save images in postgres?
Date: 2009-09-15 11:53:48
Message-ID: h8nv8c$cg5$1@reversiblemaps.ath.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2009-09-09, 纪晓曦 <sheepjxx(at)gmail(dot)com> wrote:
> --001636834258521c91047319fd34
> Content-Type: text/plain; charset=ISO-8859-1
>
> Can I save images in the postgres?

yes.

> How to define?

a bytea column it probably a good start

> Does the format matters?

not to postgres.

base64 or hex encoding and storing in a text filed also works.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jasen Betts 2009-09-15 11:57:04 Re: Can I Save images in postgres?
Previous Message std pik 2009-09-15 09:41:05 hardware information