Skip site navigation (1) Skip section navigation (2)

Re: Dead code in _bt_split?

From: Heikki Linnakangas <heikki(at)enterprisedb(dot)com>
To: Bruce Momjian <bruce(at)momjian(dot)us>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Dead code in _bt_split?
Date: 2007-02-04 09:37:26
Message-ID: 45C5A956.5070603@enterprisedb.com (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-patches
Bruce Momjian wrote:
> Heikki, did this code cleanup get included in your recent btree split
> fix?

No.

> ---------------------------------------------------------------------------
> 
> Tom Lane wrote:
>> Heikki Linnakangas <heikki(at)enterprisedb(dot)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.

-- 
   Heikki Linnakangas
   EnterpriseDB   http://www.enterprisedb.com

In response to

Responses

pgsql-hackers by date

Next:From: Simon RiggsDate: 2007-02-04 09:38:47
Subject: Re: Referential Integrity and SHARE locks
Previous:From: Simon RiggsDate: 2007-02-04 09:25:18
Subject: Re: Remove log segment and log_id fields from pg_controldata

pgsql-patches by date

Next:From: Pavel StehuleDate: 2007-02-04 13:48:22
Subject: Re: this patch correct upper and lower case for translated month's and
Previous:From: Simon RiggsDate: 2007-02-04 09:25:18
Subject: Re: Remove log segment and log_id fields from pg_controldata

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group