pgsql: Repair bug #2694 concerning an ARRAY[] construct whose inputs are

Поиск
Список
Период
Сортировка
От tgl@postgresql.org (Tom Lane)
Тема pgsql: Repair bug #2694 concerning an ARRAY[] construct whose inputs are
Дата
Msg-id 20061106182158.641FE9FB1E6@postgresql.org
обсуждение исходный текст
Список pgsql-committers
Log Message:
-----------
Repair bug #2694 concerning an ARRAY[] construct whose inputs are empty
sub-arrays.  Per discussion, if all inputs are empty arrays then result
must be an empty array too, whereas a mix of empty and nonempty arrays
should (and already did) draw an error.  In the back branches, the
construct was strict: any NULL input immediately yielded a NULL output;
so I left that behavior alone.  HEAD was simply ignoring NULL sub-arrays,
which doesn't seem very sensible.  For lack of a better idea it now
treats NULL sub-arrays the same as empty ones.

Tags:
----
REL7_4_STABLE

Modified Files:
--------------
    pgsql/src/backend/executor:
        execQual.c (r1.150.2.1 -> r1.150.2.2)

(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execQual.c.diff?r1=1.150.2.1&r2=1.150.2.2)

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

Предыдущее
От: tgl@postgresql.org (Tom Lane)
Дата:
Сообщение: pgsql: Repair bug #2694 concerning an ARRAY[] construct whose inputs are
Следующее
От: conni@pgfoundry.org (User Conni)
Дата:
Сообщение: press - pr: updated release date