Problem while using lo_import and lo_export - Mailing list pgsql-sql

From Penchalaiah P.
Subject Problem while using lo_import and lo_export
Date
Msg-id A70AE049E81A6A40879D5DC0AC8C38C906D5318E@venus.infics.com
Whole thread Raw
Responses Re: Problem while using lo_import and lo_export
List pgsql-sql

Hi,

 

I have PostgresSQL database connection from server. Server ip is 172.16.5.179

 

Now I want use lo_import and  lo_export function for storing images into the database.

 

This images is located in my system itself.

 

When I am going using the following query…

 

Insert into image values('chanukya',lo_import('D:/Vivek/Personal/PICS/IN/chanukya.jpg'))

 

….it rises error ‘no such file or directory’

 

But the same query executing successfully in my local database…

 

Could please tell me to resolve this problem…

 

 

 

 

 

Thanks  &  Regards

Penchal reddy | Software Engineer           

Infinite Computer Solutions | Exciting Times…Infinite Possibilities...

SEI-CMMI level 5 | ISO 9001:2000

IT SERVICES | BPO                                                                                                                                                                          

Telecom | Finance | Healthcare | Manufacturing | Energy & Utilities | Retail & Distribution | Government                                                       

Tel +91-80-5193-0000(Ext:503)| Fax  +91-80-51930009 | Cell No  +91-9980012376|www.infics.com          

Information transmitted by this e-mail is proprietary to Infinite Computer Solutions and/ or its Customers and is intended for use only by the individual or entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at info.in@infics.com and delete this mail from your records.

 

Information transmitted by this e-mail is proprietary to Infinite Computer Solutions and / or its Customers and is intended for use only by the individual or the entity to which it is addressed, and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If you are not the intended recipient or it appears that this mail has been forwarded to you without proper authority, you are notified that any use or dissemination of this information in any manner is strictly prohibited. In such cases, please notify us immediately at info.in@infics.com and delete this email from your records.

pgsql-sql by date:

Previous
From: John Tregea
Date:
Subject: Re: Joining a result set from four (4) tables
Next
From: "Penchalaiah P."
Date:
Subject: How to use table from one database to another