php can't read large object

wxdqz

New Member
I have created an image database for a test with postgres7.0 php3.0.15 on redhat6.2.
after upload some imgs and they are stored in the database. However, I can't read them out via <pg_loreadall>, while exporting from <psql id file> is successful.
<pg_locreate> gives me a number that is always littler than <oid> by 15, and equal to id of <psql lo_list>.
Could you tell me why and where can I get an example about display an image stored in postgres?
Thanks a lot.
 
Back
Top