| От | Sam Mason |
|---|---|
| Тема | Re: obtaining ARRAY position for a given match |
| Дата | |
| Msg-id | 20091119190301.GV5407@samason.me.uk обсуждение |
| Ответ на | Re: obtaining ARRAY position for a given match (Scott Bailey <artacus@comcast.net>) |
| Ответы |
Re: obtaining ARRAY position for a given match
|
| Список | pgsql-general |
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! -- Sam http://samason.me.uk/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера