pg.ddx.io  pgsql-hackers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Fujii Masao <masao.fujii@oss.nttdata.com>
To: Zhihong Yu <zyu@yugabyte.com>
To: torikoshia <torikoshia@oss.nttdata.com>
Cc: Kyotaro Horiguchi <horikyota.ntt@gmail.com>
Cc: PostgreSQL-development <pgsql-hackers@postgresql.org>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: gkokolatos@protonmail.com, kasahara.tatsuhito@gmail.com, Craig Ringer <craig@2ndquadrant.com>
Subject: Re: Get memory contexts of an arbitrary backend process
Date: Mon, 5 Apr 2021 12:59:14 +0900
Message-ID: <6ab7b7f1-8dca-288f-5578-0a0716567341@oss.nttdata.com> (raw)
In-Reply-To: <CALNJ-vQ=x-9AgsVA5fQH_LZQABr+G3ATCPoWE-WFmwjd9Lhp3w@mail.gmail.com>
References: <bbecd722d4f8e261b350186ac4bf68a7@oss.nttdata.com>
	<1f259e90-08c8-2202-be66-f7ee05d22cd2@oss.nttdata.com>
	<f6f6373ae200c8a0e7466e4de9ca65eb@oss.nttdata.com>
	<20210331.151612.259240960686480846.horikyota.ntt@gmail.com>
	<65fbf059-bcff-1585-59a1-1ec6a6f5ac75@oss.nttdata.com>
	<e1fdbdcae9fac88cf4cd4b552bc4a741@oss.nttdata.com>
	<CALNJ-vQ=x-9AgsVA5fQH_LZQABr+G3ATCPoWE-WFmwjd9Lhp3w@mail.gmail.com>



On 2021/04/05 12:20, Zhihong Yu wrote:
> +        * This is just a warning so a loop-through-resultset will not abort
> +        * if one backend logged its memory contexts during the run.
> 
> The pid given by arg 0 is not a PostgreSQL server process. Which other backend could it be ?

This is the comment that I added wrongly. So the comment should be
"This is just a warning so a loop-through-resultset will not abort
if one backend terminated on its own during the run.",
like pg_signal_backend(). Thought?

Regards,

-- 
Fujii Masao
Advanced Computing Technology Center
Research and Development Headquarters
NTT DATA CORPORATION





view thread (52+ messages)  latest in thread

Message-ID: <6ab7b7f1-8dca-288f-5578-0a0716567341@oss.nttdata.com>
Permalink:  ../6ab7b7f1-8dca-288f-5578-0a0716567341@oss.nttdata.com/
Also on:    postgresql.org/message-id/6ab7b7f1-8dca-288f-5578-0a0716567341@oss.nttdata.com

 · 

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-hackers@postgresql.org
  Cc: masao.fujii@oss.nttdata.com, zyu@yugabyte.com, torikoshia@oss.nttdata.com, horikyota.ntt@gmail.com, tgl@sss.pgh.pa.us, craig@2ndquadrant.com
  Subject: Re: Get memory contexts of an arbitrary backend process
  In-Reply-To: <6ab7b7f1-8dca-288f-5578-0a0716567341@oss.nttdata.com>

* 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