Thread: saving a pdf file in the database

saving a pdf file in the database

From
Luca Ferrari
Date:
Hello to the whole list,
is possible to save a file (PDF) in the database as blob object? Which kind of
field should I use to achieve this?

Thanks,
Luca

--
Luca Ferrari,
fluca1978@virgilio.it

Re: saving a pdf file in the database

From
Marcin Gil
Date:
Luca Ferrari wrote:

>Hello to the whole list,
>is possible to save a file (PDF) in the database as blob object? Which kind of
>field should I use to achieve this?
>
>Thanks,
>Luca
>
>
>
First of all, what would you like to use to write:
C++, php, java or maybe python?

I use php to write pdfs and jpegs to the db as large objects;
check all pg_lo_* functions.

Regards,
-Marcin Gil