From: | Pedro Doria Meunier <pdoria(at)netmadeira(dot)com> |
---|---|
To: | Postgresql Mailing List <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: obtaining ARRAY position for a given match |
Date: | 2009-11-23 21:14:19 |
Message-ID: | 4B0AFB2B.8090305@netmadeira.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Regarding this thread...
I've been away for a while...
But thank you to all who replied! :)
BR,
Pedro
On 11/19/2009 07:03 PM, Sam Mason wrote:
> On Thu, Nov 19, 2009 at 10:47:02AM -0800, Scott Bailey wrote:
>
>> Sam Mason wrote:
>>
>>> Is "idx" really the best name for this?
>>>
>> Well I used idx() because there was already a idx(int[], int) function
>> with the _int contrib module.
>>
> I don't remember ever using that before, hence my question.
>
>
>> In other languages, it is assumed you are looking for the first index.
>>
> Huh, they seem to don't they, even my old stalwart of pedantry, Haskell,
> follows form here. Not sure why I'd never noticed before, "idx" is
> looking more and more sensible!
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Pedro Doria Meunier | 2009-11-23 21:19:44 | C++ and Postgis |
Previous Message | Bill Moran | 2009-11-23 21:05:17 | Re: Strange performance degradation |