pgsql: Prevent stack overflow in query-type functions.

Поиск
Список
Период
Сортировка
От Noah Misch
Тема pgsql: Prevent stack overflow in query-type functions.
Дата
Msg-id E1Zj6Sb-0005d7-4X@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Prevent stack overflow in query-type functions.

The tsquery, ltxtquery and query_int data types have a common ancestor.
Having acquired check_stack_depth() calls independently, each was
missing at least one call.  Back-patch to 9.0 (all supported versions).

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/7bed97d486bda5761ba7e7982e4133aeded6b852

Modified Files
--------------
contrib/intarray/_int_bool.c            |    3 +++
contrib/ltree/ltxtquery_io.c            |    3 +++
contrib/ltree/ltxtquery_op.c            |    4 ++++
src/backend/utils/adt/tsquery_cleanup.c |    3 +++
4 files changed, 13 insertions(+)


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

Предыдущее
От: Stephen Frost
Дата:
Сообщение: pgsql: Apply SELECT policies in INSERT/UPDATE+RETURNING
Следующее
От: Noah Misch
Дата:
Сообщение: pgsql: Prevent stack overflow in query-type functions.