From: | "Taber, Mark" <Mark(dot)Taber(at)dof(dot)ca(dot)gov> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | BLOB help needed... |
Date: | 2004-04-27 17:34:19 |
Message-ID: | 7660B79A29B9D411999F00D0B78EC8900A5DE4A3@NTRK2 |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
We're implementing our first PostgreSQL database, and enjoying it very much.
However, we have a table that will store binary image files (pie charts,
etc.) for later display on a dynamic webpage. While we're putting together
our prototype application, I've been asked by the programmers (I'm the DBA)
to "put the images in the database." I can see how to do this using Large
Objects, but then getting them out again seems problematic, and the
documentation is a bit sketchy. Would BYTEA columns be better? However, it
seems to me that there is no easy way using psql to load images into a BYTEA
column. Any help would be greatly appreciated.
Regards,
Mark Taber
State of California
Department of Finance
Infrastructure & Architecture Unit
916.323.3104 x 2945
From | Date | Subject | |
---|---|---|---|
Next Message | Frank Finner | 2004-04-27 18:14:48 | Re: Installation Postgresql |
Previous Message | Ron St-Pierre | 2004-04-27 17:18:56 | Re: composite type and assignment in plpgsql |