Carsten Kropf <ckropf2(at)fh-hof(dot)de> writes:
> However, it is a little bit strange, that I get toasted values (when inserting from another table) and untoasted values, if I insert items directly. Could anybody please explain this to me?
Huh? An index will never ever get passed an externally-toasted value.
See the TOAST_INDEX_HACK code in indextuple.c.
regards, tom lane