I'm doing a work for the university, and I have a problem When I try to read a file (jpg, txt, or whatever) PostgreSQL returns:
ERROR: could not open server file "/file": Permission denied
** Error **
I'm trying to find a solution over internet, but there's no solution (or I can't find it)
I'm doing the other exercises now, I made scripts, and executed it with "sudo", but it didn't work.
Can someone help me? I need postgre to read files
(Sorry about my english)