How to save a image file in a postgres data field. - Mailing list pgsql-novice

From richard terry
Subject How to save a image file in a postgres data field.
Date
Msg-id 200808290726.06424.rterry@gnumed.net
Whole thread Raw
List pgsql-novice
I want to be able to save an image, say myimage.png, into the database, and
having difficulty with understanding the postgres documentation.

The nearest I can figure is that there is a field called bytea ?? is this the
correct one.

If so, I wondered if anyone could give me a simple line of sql code which
would demonstrate how to do this.

Regards and thanks in advance.

Richard

pgsql-novice by date:

Previous
From: Bruce Hyatt
Date:
Subject: Re: Triggers and Function.
Next
From: "Obe, Regina"
Date:
Subject: Re: How to save a image file in a postgres data field.