Thread: How to make lo_import and lo_export to use file on client local machine?

How to make lo_import and lo_export to use file on client local machine?

From
"Premsun Choltanwanich"
Date:
I try to use lo_import and lo_export for manage large object on
PostgreSQL. I found that all files must be process on server with these
commands.

Could I make lo_import and lo_export to use file on client local
machine?
And How?

Or Is it has other ways to manage large object that process is between
client local machine and PostgreSQL database?

"Premsun Choltanwanich" <Premsun@nsasia.co.th> writes:
> Could I make lo_import and lo_export to use file on client local
> machine?

If you're using libpq, it has lo_export and lo_import functions.
If you're using some other client-side code, see its documentation.

            regards, tom lane