On Tue, 27 Jul 2021 at 17:20, Ronan Dunklau <ronan.dunk...@aiven.io> wrote: > One thing in particular I was not sure about was how to fetch the operator > associated with the path key ordering. I chose to go through the opfamily > recorded on the member, but maybe locating the original SortGroupClause by its > ref and getting the operator number here woud have worked. It seems more > straightforward like this though.
I spent a bit of time trying to find a less invasive way of doing that and didn't manage to come up with anything. I'm interested to hear if anyone else has any better ideas. David