RE: [INTERFACES] uploading & downloading files from database

From: Peter Mount <petermount(at)it(dot)maidstone(dot)gov(dot)uk>
To: "'Anjan Borthakur'" <anjan(at)bombay(dot)retortsoft(dot)com>, pgsql-interfaces(at)postgresql(dot)org
Subject: RE: [INTERFACES] uploading & downloading files from database
Date: 1999-10-26 12:40:46
Message-ID: 1B3D5E532D18D311861A00600865478C25E784@exchange1.nt.maidstone.gov.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

For blobs, you need to use oid as the type, then use the lo_ funtions.

I'm not sure how you would do this in php3 as I only do simple stuff and
haven't had the need, but in theory it should be possible as I have
managed to upload files to a php3 script before.

Peter

--
Peter Mount
Enterprise Support
Maidstone Borough Council
Any views stated are my own, and not those of Maidstone Borough Council.

-----Original Message-----
From: Anjan Borthakur [mailto:anjan(at)bombay(dot)retortsoft(dot)com]
Sent: 26 October 1999 11:38
To: pgsql-interfaces(at)postgresql(dot)org
Subject: [INTERFACES] uploading & downloading files from database

hi everybody,

i am using posgresql backend with php3 & apache.
i want to upload & downloading files from or into database
what sort of datatype should i use? postgres doesn't seem to have
blob(binary large object support).how do i go about it?
any help?

-anjan

************

Browse pgsql-interfaces by date

  From Date Subject
Next Message StOo 1999-10-26 12:44:50 8k limit
Previous Message Anjan Borthakur 1999-10-26 10:37:43 uploading & downloading files from database