From: | "Purusothaman A" <purusothaman(dot)a(at)gmail(dot)com> |
---|---|
To: | pgsql-general(at)postgresql(dot)org, pgsql-admin(at)postgresql(dot)org, "Shilpa Mohidekar" <Shilpa(dot)Mohidekar(at)austinsky(dot)com> |
Subject: | Problem with lo_export() and lo_import() from remote machine. |
Date: | 2006-09-09 11:07:24 |
Message-ID: | 3650d0d50609090407j237bb710h9bde1675c773925d@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin pgsql-general |
Hi all,
I have problem while using "lo_export()" and "lo_import()" from remote
system.
eg:
****
select lo_export(img_file, 'E:\\temp\\1001.jpg') from master where emp_id =
'1001';
insert into master(img_file) values(lo_import('E:\\temp\\1001.jpg')) where
emp_id = '1001';
Here column "img_file" is OID data type.
The above query works, if I enter from PostgreSQL server machine.
But the same query fails, if I enter from any other client machine in my
LAN.
All other queries work well from remote machine, which do not deal OID data
type column.
any suggestions would be appreciated.
:)
Purusothaman A
From | Date | Subject | |
---|---|---|---|
Next Message | Milen A. Radev | 2006-09-09 11:34:03 | Re: Problem with lo_export() and lo_import() from remote machine. |
Previous Message | Michael Fuhr | 2006-09-09 03:11:55 | Re: Migration from 7.4.2 to 8.1.4 |
From | Date | Subject | |
---|---|---|---|
Next Message | Milen A. Radev | 2006-09-09 11:34:03 | Re: Problem with lo_export() and lo_import() from remote machine. |
Previous Message | aBBISh | 2006-09-09 09:55:34 | find a free database design software |