pgsql: Limit depth of forced recursion for CLOBBER_CACHE_RECURSIVELY.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Limit depth of forced recursion for CLOBBER_CACHE_RECURSIVELY.
Дата
Msg-id E1fyP1i-0005DV-Ee@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Limit depth of forced recursion for CLOBBER_CACHE_RECURSIVELY.

It's somewhat surprising that we got away with this before.  (Actually,
since nobody tests this routinely AFAIK, it might've been broken for
awhile.  But it's definitely broken in the wake of commit f868a8143.)
It seems sufficient to limit the forced recursion to a small number
of levels.

Back-patch to all supported branches, like the preceding patch.

Discussion: https://postgr.es/m/12259.1532117714@sss.pgh.pa.us

Branch
------
REL9_3_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f112d4088c29997bd777a8934b11a797132391db

Modified Files
--------------
src/backend/utils/cache/inval.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Fix longstanding recursion hazard in sinval message processing.
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Save/restore SPI's global variables in SPI_connect() andSPI_fin