Sushant Sinha <sushant354(at)gmail(dot)com> writes:
> Was this change in ordering deliberate?
Yes.
> Wouldn't length comparison be cheaper than memcmp?
It's not just about "cheapest" anymore, it also has to support prefix
operations.
regards, tom lane