Re: Filesystem vs. Postgres for images - Mailing list pgsql-general

From Development - multi.art.studio
Subject Re: Filesystem vs. Postgres for images
Date
Msg-id 407F1D38.6000800@multiartstudio.com
Whole thread Raw
In response to Re: Filesystem vs. Postgres for images  ("Development - multi.art.studio" <dev.null@multiartstudio.com>)
List pgsql-general
hi all,
maybe somewhat off-topic , but here it is....

http://www.erdtrabant.de/index.php?i=500200104

a little php-script to demonstrate how to store files as blobs into
postgres (tested with v7.1) as a base for testing etc., not very
beautiful script-style, but useable
feel free to download and change what and use where ever you want

thanks for looking
volker

Development - multi.art.studio wrote:

> hello all,
>
> if somebody is interested in a script using blobs on pgsql and php,
> leave me a mail at kalle@erdtrabant.de
> this little skript can upload files to filesystem and directly into
> db, release files from db to filesystem, and store files from
> filesystem to database.
> its tested with php 4.3 and postgres 7.1
>
> greetings,
> volker
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 7: don't forget to increase your free space map settings
>



pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: pg_clog corruption?
Next
From: Tom Lane
Date:
Subject: Re: PLpgSQL-Problem