PostgreSQL backup script

Unimus support forum
Post Reply
nets
Posts: 6
Joined: Fri Nov 08, 2019 12:24 pm

Fri May 09, 2025 8:59 pm

Doing a PostgreSQL (v11) backup script, and having trouble with

Code: Select all

pg_dump: could not open large object 100000: ERROR:  permission denied for large object 100000
Whats the right way to handle this? Turn on lo_compat_privileges in postgresql.conf or do you have another way?
Script is basically the postgresql.org cmd script for windows.
Tommy.c
Posts: 5
Joined: Fri Jan 31, 2025 6:52 pm

Thu May 15, 2025 6:47 pm

I am talking to our internal DB guys to figure out what our recommendation for this would be.

My googling has me think that you should be fine with setting your PostgreSQL "lo_compat_privileges = on" and he should be good to go.

But I am going to double check myself. Stay tuned.
Post Reply