Bob Pawley wrote:
I use graphics in the application I am writing with PostgreSQL as the
database.
I am storing the graphics in a file separate from Postgres and
accessing
them using lo_import.
Is there any method of incorporating the graphics into PostgreSQL so
that
they becom
On 21/01/2008 18:57, Bob Pawley wrote:
Is there any method of incorporating the graphics into PostgreSQL so
that they become part of the database on pg_dump
Surely - use type bytea.
Ray.
---
Raymond O'Donnell, Director of Music,
I use graphics in the application I am writing with PostgreSQL as the
database.
I am storing the graphics in a file separate from Postgres and accessing
them using lo_import.
Is there any method of incorporating the graphics into PostgreSQL so that
they become part of the database on pg_dump
> Is it possible to store a gif or jpg image
> in a PG database, then retrieve the image
> and display it on a web page?
>
> If so, how do you create the table?
>
> -Thanks
To propose something horribly simple and direct, perhaps it would
make more sense to actually just store the files on disk