How to use lo_export and lo_import

From: "VivekanandaSwamy R(dot)" <VivekanandaSwamyr(at)infics(dot)com>
To: <pgadmin-support(at)postgresql(dot)org>
Subject: How to use lo_export and lo_import
Date: 2006-07-27 03:51:46
Message-ID: A70AE049E81A6A40879D5DC0AC8C38C906C5D8E3@venus.infics.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support


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

Vivekananda.R

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 Dave Page 2006-07-27 08:09:33 Re: Bug in query editor, pgAdmin version 1.4.3 (19 Jul'06)
Previous Message Andrew Wallace 2006-07-26 15:38:24 linked server