Re: identifying the backend that owns a temporary schema

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Jeremy Schneider <schnjere(at)amazon(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: identifying the backend that owns a temporary schema
Date: 2022-08-16 23:04:23
Message-ID: 20220816230423.GA341431@nathanxps13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Mon, Aug 15, 2022 at 02:47:25PM -0700, Jeremy Schneider wrote:
> I'll take a look at the patch if I can... and I'm hopeful that we're
> able to move this idea forward and get this little gap in PG filled once
> and for all!

Thanks!

I noticed that the "result" variable in pg_stat_get_backend_idset() is kind
of pointless after my patch is applied, so here is a v2 with it removed.

--
Nathan Bossart
Amazon Web Services: https://aws.amazon.com

Attachment Content-Type Size
v2-0001-Adjust-pg_stat_get_backend_-to-use-backends-PGPRO.patch text/x-diff 7.4 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2022-08-16 23:44:52 Re: hash_xlog_split_allocate_page: failed to acquire cleanup lock
Previous Message Nathan Bossart 2022-08-16 21:22:31 Re: add checkpoint stats of snapshot and mapping files of pg_logical dir