"Mario Weilguni" <mario.weilguni@icomedias.com> writes:
> would'nt it be much better to expand pg_largeobject to have another
> column "src_oid" (or similar), containing the OID of the referencing
> table from pg_class,
What referencing table? The existing LO implementation has no idea
where you are keeping the reference(s). Nor is there any assumption
that there's just one link to the LO.
regards, tom lane