none
How can I read/save image with Postgre ? RRS feed

  • Question

  • I am working with Postgre database but I do not know how to work with image field.

    Please help me solve this problem.

    Thanks in advance

    Regards,

    pcpvphuc
    Thursday, June 28, 2007 8:19 AM

All replies

  • Hi,
    you can store image into table.
    for it you have to make a field which dataType should LongBlob.
    try it, it will help you.
    bye.
    Rajat
    Monday, July 2, 2007 11:11 AM
  • Thanks for your response.
    Could you give me the detail.

    I can do that with SQL Server or Oracle, but I can not do that with Postgre.

    I know Postgre has lo_import and lo_export for interacting with image. I can not use memory stream to read or save image.

    Regards,

    pcpvphuc
    Friday, July 6, 2007 5:10 AM