pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Paquier <michael@paquier.xyz>
To: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: exclusion@gmail.com
Cc: pgsql-bugs@lists.postgresql.org
Subject: Re: BUG #17804: Assertion failed in pg_stat after fetching from pg_stat_database and switching cache->snapshot
Date: Fri, 28 Apr 2023 15:48:16 +0900
Message-ID: <ZEtsMK8FgEE4K0w8@paquier.xyz> (raw)
In-Reply-To: <20230428.150404.2168290194163999912.horikyota.ntt@gmail.com>
References: <20230428.104100.1566874883906441360.horikyota.ntt@gmail.com>
	<0d45c9c1-17a1-932f-3925-86484f150c94@gmail.com>
	<ZEtNg1EpciAQ5fjX@paquier.xyz>
	<20230428.150404.2168290194163999912.horikyota.ntt@gmail.com>

On Fri, Apr 28, 2023 at 03:04:04PM +0900, Kyotaro Horiguchi wrote:
> Just I wanted not to do that much in the guc callback including memory
> context operations. If it is compeltly safe, I don't object just
> clearing snapshots in the callback.

I vaguely recalled some memory context deletions done in one of the
assign callbacks, like the one for the plan resets, but it doesn't
seem to be the case, looking closely..  Hm.
--
Michael

Attachments:

  signature.asc (application/pgp-signature, 832B) download

view thread (14+ messages)  latest in thread

Message-ID: <ZEtsMK8FgEE4K0w8@paquier.xyz>
Permalink:  ../ZEtsMK8FgEE4K0w8@paquier.xyz/
Also on:    postgresql.org/message-id/ZEtsMK8FgEE4K0w8@paquier.xyz

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-bugs@postgresql.org
  Cc: michael@paquier.xyz, horikyota.ntt@gmail.com, exclusion@gmail.com, pgsql-bugs@lists.postgresql.org
  Subject: Re: BUG #17804: Assertion failed in pg_stat after fetching from pg_stat_database and switching cache->snapshot
  In-Reply-To: <ZEtsMK8FgEE4K0w8@paquier.xyz>

* 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