Re: Fix for seg picksplit function - Mailing list pgsql-hackers

From Alexander Korotkov
Subject Re: Fix for seg picksplit function
Date
Msg-id AANLkTikU-sO85aNTcKcjXdB6=WkVR7R5DEDoe+zY+nTp@mail.gmail.com
Whole thread Raw
In response to Re: Fix for seg picksplit function  (Yeb Havinga <yebhavinga@gmail.com>)
Responses Re: Fix for seg picksplit function
List pgsql-hackers
With help of Oleg I found, that line "*left = *right = FirstOffsetNumber;" was needed only for 7.X compatibility, and it isn't needed any more. 
Also, I've replaced "i - 1" by "i - FirstOffsetNumber" in array filling. I believe it's more correct way, because it'll work correctly in the case when FirstOffsetNumber alters.

----
With best regards,
Alexander Korotkov. 
Attachment

pgsql-hackers by date:

Previous
From: Itagaki Takahiro
Date:
Subject: Re: MULTISET and additional functions for ARRAY
Next
From: Pavel Stehule
Date:
Subject: Re: MULTISET and additional functions for ARRAY