From: | "Gavin M(dot) Roy" <gmr(at)ehpg(dot)net> |
---|---|
To: | C G <csgcsg39(at)hotmail(dot)com> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Storing jpgs |
Date: | 2004-04-05 19:03:38 |
Message-ID: | 4071AD8A.8030005@ehpg.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
I'm one for using base64 encoded text in a text field. It's easy to
deal with queries, it's easy to deal with spitting out images, and it's
easy to back up. Others do it differently, there are many ways to skin
a cat, and each person who skins cats most likely thinks their way is
best.
Gavin
C G wrote:
> Dear All,
>
> What's the best way to store jpgs in postgresql to use in a web page?
>
> I tried to use large objects, but how would you extract them from a
> table to be viewed in a web-page without having to write them to a
> scratch file somewhere first?
>
> Thanks
>
> Colin
>
> _________________________________________________________________
> Stay in touch with absent friends - get MSN Messenger
> http://www.msn.co.uk/messenger
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
From | Date | Subject | |
---|---|---|---|
Next Message | Matthew T. O'Connor | 2004-04-05 19:22:46 | Re: Evening in NYC |
Previous Message | Lamar Owen | 2004-04-05 18:46:38 | Re: RPM init-script: Why the locale setting? |