dbTalk Databases Forums  

saving a pdf file in the database

comp.databases.postgresql.novice comp.databases.postgresql.novice


Discuss saving a pdf file in the database in the comp.databases.postgresql.novice forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Luca Ferrari
 
Posts: n/a

Default saving a pdf file in the database - 12-23-2003 , 11:31 AM






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 (AT) virgilio (DOT) it

---------------------------(end of broadcast)---------------------------
TIP 8: explain analyze is your friend


Reply With Quote
  #2  
Old   
Marcin Gil
 
Posts: n/a

Default Re: saving a pdf file in the database - 12-23-2003 , 12:52 PM






Luca Ferrari wrote:

Quote:
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



---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.