Re: Small patch for GiST: move childoffnum to child - Mailing list pgsql-hackers

From Heikki Linnakangas
Subject Re: Small patch for GiST: move childoffnum to child
Date
Msg-id [email protected]
Whole thread Raw
In response to Re: Small patch for GiST: move childoffnum to child  (Alexander Korotkov <[email protected]>)
Responses Re: Small patch for GiST: move childoffnum to child
List pgsql-hackers
On 13.07.2011 21:56, Alexander Korotkov wrote:
> Thank you very much for detail explanation. But this line of modified patch
> seems strange for me:
> *newchildoffnum = blkno;
> I believe it should be:
> *newchildoffnum = i;

Yes, you're right. It's scary that it worked during testing anyway. 
Maybe the resulting tree was indeed broken but it didn't affect the 
subsequent inserts so I didn't notice.

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


pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Need help understanding pg_locks
Next
From: Bruce Momjian
Date:
Subject: Re: Need help understanding pg_locks