> I propose that we should set pg_am.amstrategies to zero when the index
> AM doesn't have a fixed interpretation of strategy numbers. This would
> make it clearer that there's no intended upper bound. It would also
Agreed. BTW, that also plays around possibility of grouping operator classes -
since GIN/GiST hasn't fixed strategy numbers, they opclasses can not be unioned
into group without extra agreement.
> Comments? Can anyone think of anything that is likely to break?
> (I can only see one or two trivial code adjustments that would be
> needed.)
>
> regards, tom lane
--
Teodor Sigaev E-mail: teodor@sigaev.ru
WWW: http://www.sigaev.ru/