pg.ddx.io pgsql-odbc@postgresql.org mailing list archive
help / color / mirror / Atom feedretrieving images stored by php / pgsql
2+ messages / 2 participants
[nested] [flat]
* retrieving images stored by php / pgsql
@ 2005-04-23 19:43 Gerard H. Pille <geert.pille@vandemoortele.com>
0 siblings, 0 replies; 2+ messages in thread
From: geert.pille@vandemoortele.com @ 2005-04-23 19:43 UTC (permalink / raw)
To: pgsql-odbc
Hallo,
I have stored images (gif, jpeg, png and others) in a bytea column
using pg_escape_bytea ( file_get_contents (...)).
Now I would like to retrieve (and show) these images, but using
unixODBC. I have no problem retrieving them using pgsql, but the
images are damaged when I try to do it with odbc.
What would be the correct way, if it is at all possible?
Thanks,
Gerard
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: retrieving images stored by php / pgsql
@ 2005-04-30 19:59 Raymond O'Donnell <rod@iol.ie>
0 siblings, 0 replies; 2+ messages in thread
From: Raymond O'Donnell @ 2005-04-30 19:59 UTC (permalink / raw)
To: pgsql-odbc
On 23 Apr 2005 at 12:43, Gerard H. Pille wrote:
> Now I would like to retrieve (and show) these images, but using
> unixODBC. I have no problem retrieving them using pgsql, but the
> images are damaged when I try to do it with odbc.
Correct me if I'm wrong, but I think there's a limit (32k or
something) to the size of files you can retrieve from bytea via ODBC.
--Ray.
-------------------------------------------------------------
Raymond O'Donnell http://www.galwaycathedral.org/recitals
rod@iol.ie Galway Cathedral Recitals
-------------------------------------------------------------
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2005-04-30 19:59 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2005-04-23 19:43 retrieving images stored by php / pgsql Gerard H. Pille <geert.pille@vandemoortele.com>
2005-04-30 19:59 Re: retrieving images stored by php / pgsql Raymond O'Donnell <rod@iol.ie>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox