> On Sep 3, 2024, at 9:52 AM, Peter Eisentraut <pe...@eisentraut.org> wrote:
> 
> Here is a cleaned-up version of the v17-0004 patch.  I have applied the 
> renaming discussed above.  I have also made a wrapper function 
> btgettreeheight() that calls _bt_getrootheight().  That way, if we ever want 
> to change the API, we don't have to change _bt_getrootheight(), or 
> disentangle it then.  I've also added documentation and put in a source code 
> comment that the API could be expanded for additional uses.

Ok.

>  Also, I have removed the addition to the IndexOptInfo struct; that didn't 
> seem necessary.

Good catch.  I agree with the change. 

—
Mark Dilger
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company





Reply via email to