I have a PostgreSQL 9.1 database in which pictures are stored as large objects.
Is there a way to export the files to the clients filesystem through an SQL query?
select lo_export(data,'c:\img\test.jpg') from images where id=0;
I am looking for a way similar to the line above, but with the client as target.
Thanks in advance!
this answer is very late but will be helpful so some one i am sure
To get the images from the server to the client system you can use this
Where
the documentation is here commandprompt.com