GiST: Bad newtup On Exit From gistSplit() ?

From: Itai Zukerman <zukerman(at)math-hat(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: GiST: Bad newtup On Exit From gistSplit() ?
Date: 2003-03-02 13:13:16
Message-ID: 87wujhzzbn.fsf@matt.w80.math-hat.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Just before the return from gistSplit() I see this:

(gdb) p (*newtup)[0]
$147 = {t_tid = {ip_blkid = {bi_hi = 0, bi_lo = 34}, ip_posid = 1}, t_info = 136}
(gdb) p (*newtup)[1]
$148 = {t_tid = {ip_blkid = {bi_hi = 65510, bi_lo = 65535}, ip_posid = 65535}, t_info = 24575}
(gdb) p nlen
$149 = 2

(*newtup)[1] doesn't look right, correct? Everything *seems* OK. I
need to go back and trace gistFormTuple() and ItemPointerSet(), maybe?

--
Itai Zukerman <http://www.math-hat.com/~zukerman/>

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Itai Zukerman 2003-03-02 17:39:31 Re: GiST: Bad newtup On Exit From gistSplit() ?
Previous Message Itai Zukerman 2003-03-02 12:52:03 GiST: spl_rattr in gistSplit()