## Raivo Rebane (raivore55@xxxxxxxxx): > Can anybody help me find where is my mistake an what is working solution ? The documentation clearly states "All large object manipulation using these functions must take place within an SQL transaction block" https://www.postgresql.org/docs/current/lo-interfaces.html but I couldn't see anything of thank kind in your code. Regards, Christoph -- Spare Space.