how to use lo_import function

From: "VivekanandaSwamy R(dot)" <VivekanandaSwamyr(at)infics(dot)com>
To: <pgadmin-support(at)postgresql(dot)org>
Subject: how to use lo_import function
Date: 2006-07-13 10:39:59
Message-ID: A70AE049E81A6A40879D5DC0AC8C38C906AABC9E@venus.infics.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support


hai,
My system IP Address is 172.16.9.73
I am accessing database from server..i.e172.16.5.179
Now,i want use lo_import and lo_export functions storing and retriving
bitmap images...

while executing this query...

In local database:
----------------------
update imprest_holder set specimen_signature=lo_import('c:/sign.bmp')
Query returned successfully: 3 rows affected, 31 ms execution time.

When uploading data into server database:
-----------------------------------------------------------
update imprest_holder set specimen_signature=lo_import('c:/sign.bmp')

ERROR: could not open server file "c:/sign.bmp": No such file or
directory

Now what can i do?
Please help any one...

_____________________________________________________

Vivekananda.R <mailto:vivekanandaswamyr(at)infics(dot)com> | Software Engineer
| CGDA Program.
Infinite Computer Solutions India Pvt. Ltd.|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-4133 0000-2 Ext:3006 | Mobile: 9986463365
Fax +91-80-513-10853 | www.infics.com <http://www.infics.com/>
USA | United Kingdom | India | China | Singapore | Malaysia |Hong Kong
_____________________________________________________

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(dot)in(at)infics(dot)com and delete this email from your records.

Browse pgadmin-support by date

  From Date Subject
Next Message Kevin Field 2006-07-13 17:23:33 help: trigger functions/functions/procedures, bug list, and window state
Previous Message Alexander Burbello 2006-07-12 20:04:35 Re: [ADMIN] Restore Database