unnest with generate_subscripts and same array

Поиск
Список
Период
Сортировка
От Carlos Fuentes
Тема unnest with generate_subscripts and same array
Дата
Msg-id BANLkTik5DapyrqSE81VPG8vDbbW7kx_YuQ@mail.gmail.com
обсуждение исходный текст
Ответы Re: unnest with generate_subscripts and same array  ("David Johnston" <polobo@yahoo.com>)
Re: unnest with generate_subscripts and same array  (David Fetter <david@fetter.org>)
Список pgsql-general
Hello,
Given that these are the only one array_col in play, is
    select unnest(array_col), generate_subscripts(array_col) from table_with_array_col ;
guaranteed to gave the subscripts match the array element?  In all the testing I've done it's worked, but I don't know if I was just lucky :)

Thanks,
-Carlos Fuentes

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: max_connections proposal
Следующее
От: "David Johnston"
Дата:
Сообщение: Re: unnest with generate_subscripts and same array