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

2004-11-19 Thread Premsun Choltanwanich
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?

---(end of broadcast)---
TIP 4: Don't 'kill -9' the postmaster


Re: [GENERAL] How to make lo_import and lo_export to use file on client local machine?

2004-11-19 Thread Tom Lane
Premsun Choltanwanich [EMAIL PROTECTED] 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

---(end of broadcast)---
TIP 2: you can get off all lists at once with the unregister command
(send unregister YourEmailAddressHere to [EMAIL PROTECTED])


Re: [GENERAL] How to make lo_import and lo_export to use file

2004-11-19 Thread Premsun Choltanwanich
I'm new for PostgreSQL.  How can I check that what thing I use?

 Tom Lane [EMAIL PROTECTED] 19/11/2004 10:02:44 pm 
Premsun Choltanwanich [EMAIL PROTECTED] 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

---(end of broadcast)---
TIP 3: if posting/reading through Usenet, please send an appropriate
  subscribe-nomail command to [EMAIL PROTECTED] so that your
  message can get through to the mailing list cleanly