Alvaro Herrera <alvherre(at)2ndquadrant(dot)com> writes:
> Pavel Stehule wrote:
>> I am thinking, so it is ok - it returns a offset, not position.
> So you can't use it as a subscript? That sounds unfriendly. Almost
> every function using this will be subtly broken.
I concur; perhaps "offset" was the design intention, but it's wrong.
The result should be a subscript.
regards, tom lane