Re: [PATCH v4] Add pg_current_vxact_id() function

From: shihao zhong <zhong950419(at)gmail(dot)com>
To: Pavlo Golub <pavlo(dot)golub(at)cybertec(dot)at>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, assam258(at)gmail(dot)com, Michael Paquier <michael(at)paquier(dot)xyz>, pgsql-hackers(at)lists(dot)postgresql(dot)org
Subject: Re: [PATCH v4] Add pg_current_vxact_id() function
Date: 2026-09-02 02:02:22
Message-ID: CAGRkXqRVAvnOHLqXu0NajYicCCLaKZR1NeEXyqNfWznbu4LqjQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi Pavlo,

> The job is allowed to run in parallel, so at
> the same time we can have 10 workers doing exactly the same. Also we do
> log all the workflows, so to distinguish those workers we use VXIDs.

Thanks for sharing with me the workload.

> I believe monitoring connection poolers could be improved with this function.

That I agree as well.

LGTM!

Thanks,
Shihao

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Japin Li 2026-09-02 02:08:08 Re: GIN pageinspect support for entry tree and posting tree
Previous Message shihao zhong 2026-09-02 01:57:56 Re: Fix a typo in EnableLogicalDecoding()