Re: TOAST issue on custom index access method - Mailing list pgsql-hackers

From Tom Lane
Subject Re: TOAST issue on custom index access method
Date
Msg-id 13463.1277392114@sss.pgh.pa.us
Whole thread Raw
In response to Re: TOAST issue on custom index access method  (Carsten Kropf <ckropf2@fh-hof.de>)
Responses Re: TOAST issue on custom index access method  (Carsten Kropf <ckropf2@fh-hof.de>)
List pgsql-hackers
Carsten Kropf <ckropf2@fh-hof.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


pgsql-hackers by date:

Previous
From: Carsten Kropf
Date:
Subject: Re: TOAST issue on custom index access method
Next
From: Florian Pflug
Date:
Subject: Re: [COMMITTERS] pgsql: Add TCP keepalive support to libpq.