pgsql: Fix recently-introduced crash in array_contain_compare().

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Fix recently-introduced crash in array_contain_compare().
Дата
Msg-id E1YvvYi-0003NT-Af@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix recently-introduced crash in array_contain_compare().

Silly oversight in commit 1dc5ebc9077ab742079ce5dac9a6664248d42916:
when array2 is an expanded array, it might have array2->xpn.dnulls equal
to NULL, indicating the array is known null-free.  The code wasn't
expecting that, because it formerly always used deconstruct_array() which
always delivers a nulls array.

Per bug #13334 from Regina Obe.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/49ad32d5d99cb4a79bf648c0b7f9eca19b54cf1d

Modified Files
--------------
src/backend/utils/adt/arrayfuncs.c |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)


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

Предыдущее
От: Peter Eisentraut
Дата:
Сообщение: Re: pgsql: At promotion, archive last segment from old timeline with .parti
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Remove the new UPSERT command tag and use INSERT instead.