Re: TOAST issue on custom index access method

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Carsten Kropf <ckropf2(at)fh-hof(dot)de>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: TOAST issue on custom index access method
Date: 2010-06-24 15:08:34
Message-ID: 13463.1277392114@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Florian Pflug 2010-06-24 15:08:58 Re: [COMMITTERS] pgsql: Add TCP keepalive support to libpq.
Previous Message Carsten Kropf 2010-06-24 14:53:57 Re: TOAST issue on custom index access method