Re: Re: HTTP Download with Postgresl
| From: | Jeroen Houben | Date: | Fri, 16 Jul 2004 10:08:58 +0000 |
| Subject: | Re: Re: HTTP Download with Postgresl | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-13724@lists.php.net to get a copy of this message | ||
Michael Wallner wrote:
Hi Jeroen Houben, you wrote:JeroenOkay I'm starting to to grasp this a bit know. Just to verify: I can write a stream wrapper for Postgres large objects so a PG large object is treated just as any other stream in PHP. You'll be able to read from it, write to it etc etc. in a standardized way. Right?YesI'll try and find some time to experiment with this.Look at this dirty example - it's supposed to work but I don't know why pg_lo_open returns TRUE instead of a resource... Probably because you need to enclose all LO functions in transaction blocks. Thanks for the example, I think I can implement this. I just need to find some time for this and I'm fairly busy atm :-(