After 2 weeks of huge efforts to solve one postgresql problem I'm coming here as last hope.
What I'm trying to do:
I need to store and retrieve huge files (sizes between 1 MB to 2000 MB) to postgresql database by client desktop .NET app. I tried to use bytea, large objects and text but I have out of memory or to slow operation (7 min).
What I need:
I want to upload all client files to remote server (client and server are in local network and completely visible each other) in data (postgresql/data) directory and to retreive these file from DATA directory.
Question:
Do you have some idea how with pure SQL or postgresql sql procedure to upload file from local machine to remote DATA directory? Do you have some idea how with pure sql or postgresql procedure(s) to download file in data directory of postgresql to local machine?