2015-03-20 18:47 GMT+01:00 Tom Lane <t...@sss.pgh.pa.us>:

> Alvaro Herrera <alvhe...@2ndquadrant.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.
>

do you have any idea about name for this function? array_position is ok?

Regards

Pavel


>
>                         regards, tom lane
>

Reply via email to