Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Storing pictures

Status
Not open for further replies.

totti24

Programmer
Aug 2, 2002
32
MY

hi people, is postgreSQL able to store data in jpeg or gif format?? if so, wat type of data type that i can use to store the pictures? thanks in advance.
 
This is was a topic I had to do some research on. The conclusion was that storing pictures in PostgreSQL doesn't make a lot of sense, though it is supported.

If you feel you have to store the photos in Postgres.. Check out the documentation section of the PostgreSQL web site, check out the function "pg_largeobject". There it will tell you how all that stuff is done.

Gary
gwinn7e
A+, N+, I+

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top