Re: Get memory contexts of an arbitrary backend process
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Kasahara Tatsuhito <kasahara.tatsuhito@gmail.com>
Cc: torikoshia <torikoshia@oss.nttdata.com>, Tom Lane <tgl@sss.pgh.pa.us>, PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2020-09-24T04:01:49Z
Lists: pgsql-hackers
On Thu, Sep 10, 2020 at 09:11:21PM +0900, Kasahara Tatsuhito wrote: > I think it's fine to have an interface to delete in an emergency, but > I agree that > users shouldn't be made aware of the existence or deletion of dump > files, basically. Per the CF bot, the number of tests needs to be tweaked, because we test each entry filtered out with is_deeply(), meaning that the number of tests needs to be updated to reflect that if the filtered list is changed: t/010_pg_basebackup.pl ... 104/109 # Looks like you planned 109 tests but ran 110. t/010_pg_basebackup.pl ... Dubious, test returned 255 (wstat 65280, 0xff00) All 109 subtests passed Simple enough to fix. -- Michael
Commits
-
Add function to log the memory contexts of specified backend process.
- 43620e328617 14.0 landed
-
Add pg_backend_memory_contexts system view.
- 3e98c0bafb28 14.0 cited
-
Limit the verbosity of memory context statistics dumps.
- 7b5ef8f2d070 9.6.0 cited