Re: Add sub-transaction overflow status in pg_stat_activity
Nathan Bossart <bossartn@amazon.com>
From: "Bossart, Nathan" <bossartn@amazon.com>
To: Dilip Kumar <dilipbalaut@gmail.com>, Ashutosh Sharma <ashu.coek88@gmail.com>
Cc: Justin Pryzby <pryzby@telsasoft.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2022-01-13T22:27:31Z
Lists: pgsql-hackers
Thanks for the new patch! + <para> + Returns a record of information about the backend's subtransactions. + The fields returned are <parameter>subxact_count</parameter> identifies + number of active subtransaction and <parameter>subxact_overflow + </parameter> shows whether the backend's subtransaction cache is + overflowed or not. + </para></entry> + </para></entry> nitpick: There is an extra "</para></entry>" here. Would it be more accurate to say that subxact_count is the number of subxids that are cached? It can only ever go up to PGPROC_MAX_CACHED_SUBXIDS. Nathan
Commits
-
Fix comment that was missing a word.
- eb60eb08a95e 16.0 landed
-
Expose some information about backend subxact status.
- 10ea0f924a27 16.0 landed