Re: Dead code in _bt_split? - Mailing list pgsql-hackers

From Bruce Momjian
Subject Re: Dead code in _bt_split?
Date
Msg-id 200702032358.l13NwEr25635@momjian.us
Whole thread Raw
In response to Re: Dead code in _bt_split?  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Dead code in _bt_split?  (Heikki Linnakangas <heikki@enterprisedb.com>)
List pgsql-hackers
Heikki, did this code cleanup get included in your recent btree split
fix?

---------------------------------------------------------------------------

Tom Lane wrote:
> Heikki Linnakangas <heikki@enterprisedb.com> writes:
> > In that case, newitemleft would be false, right?
> > I'm saying the piece marked with X> below is unreachable:
> 
> Oh, I see.  Hmm ... probably so, I think that chunk of code was just
> copied and pasted from where it occurs within the loop.
> 
>             regards, tom lane
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 6: explain analyze is your friend

--  Bruce Momjian   bruce@momjian.us EnterpriseDB    http://www.enterprisedb.com
 + If your life is a hard drive, Christ can be your backup. +


pgsql-hackers by date:

Previous
From: Jeremy Drake
Date:
Subject: SRF optimization question
Next
From: Jan Wieck
Date:
Subject: Re: Proposal: Change of pg_trigger.tg_enabled and adding