Hi!
I've rebased the patch against recent master.
I've imported changes from 857f9c36 commit.
BTW this commit shows why do this patch is important: 857f9c36 adds new option 
for b-tree indexes. But thanks to the StdRdOptions this option will exist for 
no practical use in all heaps that has just any option set to non-default 
value, and in indexes that use StdRdOptions (and also has any option set)
And there will be more. StdRdOptions is long outdated solution and it needs to 
be replaced.
-- 
Do code for fun.