Re: [GENERAL] Importing large objects from the client side programatically.

2009-05-01 Thread Daniel Verite
Andrew Maclean wrote: I am using C++ and trying to programatically import a large object from the client side into a server. In that context, the simplest way is to use libpq's C functions: http://www.postgresql.org/docs/8.3/static/lo-interfaces.html Best regards, -- Daniel PostgreSQL

[GENERAL] Importing large objects from the client side programatically.

2009-05-01 Thread Andrew Maclean
I am using C++ and trying to programatically import a large object from the client side into a server. I am using QT and, for the server side I can pass a command like: insert into x values('x1',lo_import('c:/temp/x1.txt')); Which works. However this will not work from the client side. For the cli