Re: array support patch phase 1 patch

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: array support patch phase 1 patch
Дата
Msg-id 27104.1054484822@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: array support patch phase 1 patch  (Joe Conway <mail@joeconway.com>)
Ответы Re: array support patch phase 1 patch  (Joe Conway <mail@joeconway.com>)
Re: array support patch phase 1 patch  (Joe Conway <mail@joeconway.com>)
Список pgsql-patches
Joe Conway <mail@joeconway.com> writes:
> Next question: should I roll the three array related patches floating
> around (phase2, phase3, polycoerce) into one big patch again? It's
> difficult for me to continue to make progress without doing that.

If it's easier at your end.

> +     /* Last of the fast-paths: check for matching polymorphic arrays */
> +     if (targettype == ANYARRAYOID)
> +         if (get_element_type(srctype) != InvalidOid)
> +             return true;

This doesn't seem quite right; won't the second test succeed for NAME
and other fixed-length-array types?  You need to restrict it to varlena
arrays, I'd think.

            regards, tom lane

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

Предыдущее
От: Joe Conway
Дата:
Сообщение: Re: array support patch phase 1 patch
Следующее
От: Joe Conway
Дата:
Сообщение: Re: array support patch phase 1 patch