pgsql: intarray: return empty zero-dimensional array for an empty arra

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема pgsql: intarray: return empty zero-dimensional array for an empty arra
Дата
Msg-id E1VIKgi-0002q6-6B@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
intarray:  return empty zero-dimensional array for an empty array

Previously a one-dimensional empty array was returned, but its text
representation matched a zero-dimensional array, and there is no way to
dump/reload a one-dimensional empty array.

BACKWARD INCOMPATIBILITY

Per report from elein

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/c155f654b4f755b4111bd9adb60559fe22526a10

Modified Files
--------------
contrib/intarray/_int_tool.c |    7 +++++++
1 file changed, 7 insertions(+)


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

Предыдущее
От: Noah Misch
Дата:
Сообщение: pgsql: Don't VALGRIND_PRINTF() each query string.
Следующее
От: Michael Meskes
Дата:
Сообщение: pgsql: Return error if allocation of new element was not possible.