Re: obtaining ARRAY position for a given match

Поиск
Список
Период
Сортировка
От Scott Bailey
Тема Re: obtaining ARRAY position for a given match
Дата
Msg-id 4B057D37.6010807@comcast.net
обсуждение исходный текст
Ответ на Re: obtaining ARRAY position for a given match  (Pavel Stehule <pavel.stehule@gmail.com>)
Ответы Re: obtaining ARRAY position for a given match
Список pgsql-general
>    FROM generate_series(array_lover($1,1),array_upper($1,1)) g(i)

Pavel,

Don't get me wrong, I enjoy coding, but I think you've taken it too far
here ;)

Yes, definitely more effective for large arrays. Thanks. Would probably
be a good snippet for the wiki.

Scott



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

Предыдущее
От: Raimon Fernandez
Дата:
Сообщение: Re: Encoding using the Frontend/Backend Protocol TCP/IP
Следующее
От: Merlin Moncure
Дата:
Сообщение: Re: obtaining ARRAY position for a given match