Re: obtaining ARRAY position for a given match

Поиск
Список
Период
Сортировка
От Sam Mason
Тема Re: obtaining ARRAY position for a given match
Дата
Msg-id 20091119175049.GT5407@samason.me.uk
обсуждение исходный текст
Ответ на Re: obtaining ARRAY position for a given match  (Scott Bailey <artacus@comcast.net>)
Ответы Re: obtaining ARRAY position for a given match  (Scott Bailey <artacus@comcast.net>)
Список pgsql-general
On Thu, Nov 19, 2009 at 09:46:42AM -0800, Scott Bailey wrote:
> We had an idx() function in the _int contrib module. I wonder if it
> would be useful to write this in C now that _int is deprecated?

Is "idx" really the best name for this? there could be multiple
occurrences of a value in an array (i.e. it's not a set) and hence why I
used "firstidx" for the function name.  If it's replacing an existing
function, then compatibility is a good reason.

--
  Sam  http://samason.me.uk/

В списке pgsql-general по дате отправления:

Предыдущее
От: Scott Bailey
Дата:
Сообщение: Re: obtaining ARRAY position for a given match
Следующее
От: Scott Bailey
Дата:
Сообщение: Re: obtaining ARRAY position for a given match