pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Limit depth of forced recursion for CLOBBER_CACHE_RECURSIVELY.
Date: Fri, 07 Sep 2018 22:14:54 +0000
Message-ID: <E1fyP1i-0005DO-EH@gemulon.postgresql.org> (raw)

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
------
REL_10_STABLE

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

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



view thread (7+ messages)  latest in thread

Message-ID: <E1fyP1i-0005DO-EH@gemulon.postgresql.org>
Permalink:  ../E1fyP1i-0005DO-EH@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1fyP1i-0005DO-EH@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Limit depth of forced recursion for CLOBBER_CACHE_RECURSIVELY.
  In-Reply-To: <E1fyP1i-0005DO-EH@gemulon.postgresql.org>
  References: <E1fyP1i-0005DO-EH@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox