"EBIHARA, Yuichiro" <ebihara(at)iplocks(dot)co(dot)jp> writes:
> Using Large Objects may solve my issue but I have to note that a large
> object is not automatically deleted when the record referring to it is
> deleted.
The contrib/lo module can help with this.
regards, tom lane