Re: pg_stat_get_backend_subxact() and backend IDs?

From: Nathan Bossart <nathandbossart(at)gmail(dot)com>
To: Ian Lawrence Barwick <barwick(at)gmail(dot)com>
Cc: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, robertmhaas(at)gmail(dot)com
Subject: Re: pg_stat_get_backend_subxact() and backend IDs?
Date: 2023-08-25 19:29:49
Message-ID: 20230825192949.GA1917227@nathanxps13
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Aug 25, 2023 at 08:32:51AM -0700, Nathan Bossart wrote:
> On second thought, renaming these exported functions so close to release is
> probably not a great idea. I should probably skip back-patching that one.
> Or I could have the existing functions call the new ones in v16 for
> backward compatibility...

Here is a new version of the patch that avoids changing the names of the
existing functions. I'm not thrilled about the name
(pgstat_fetch_stat_local_beentry_by_backend_id), so I am open to
suggestions. In any case, I'd like to rename all three of the
pgstat_fetch_stat_* functions in v17.

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

Attachment Content-Type Size
v3-0001-fix-pg_stat_get_backend_subxact-to-use-real-backe.patch text/x-diff 3.3 KB

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Dagfinn Ilmari Mannsåker 2023-08-25 20:49:34 Re: Make all Perl warnings fatal
Previous Message Jelte Fennema 2023-08-25 17:57:32 Support prepared statement invalidation when result types change