Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> writes:
> I found so there are no simple API for working with LO from PL without
> access to file system.
What? See lo_open(), loread(), lowrite(), etc.
> These functions can be simplified if we supports some functions like
> encode, decode for LO
I do not see any good reason to tie encode/decode to LOs.
regards, tom lane