| From: | Jim Jones <jim(dot)jones(at)uni-muenster(dot)de> |
|---|---|
| To: | Michael Paquier <michael(at)paquier(dot)xyz> |
| Cc: | shihao zhong <zhong950419(at)gmail(dot)com>, pgsql-hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
| Subject: | Re: Add a permission check to pg_stat_get_backend_subxact() |
| Date: | 2026-09-11 10:58:50 |
| Message-ID: | c7a0be5d-5328-41dd-a7bf-6b964e9f7a06@uni-muenster.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
On 11/09/2026 09:53, Michael Paquier wrote:
> Could you group all your findings in a single patch? The doc entry
> needs to be at least backpatched, mentioning "overflow" instead of
> "overflowed" is not correct.
Attached v3 with these changes.
0001 - docs fix for backpatching
0002 - adds the same permission checks into pg_stat_get_backend_subxact,
pg_stat_get_backend_io, pg_stat_get_backend_lock, and
pg_stat_get_backend_wal.
Shihao, feel free to modify or reject these changes (it's your patch)
Thanks!
Best, Jim
| Attachment | Content-Type | Size |
|---|---|---|
| v3-0001-Fix-output-column-name-for-pg_stat_get_backend_su.patch | text/x-patch | 1.6 KB |
| v3-0002-Make-per-backend-statistics-functions-respect-sta.patch | text/x-patch | 14.7 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Amit Kapila | 2026-09-11 11:06:13 | Re: Review items for EXCEPT TABLE publication |
| Previous Message | Yuhang Qiu | 2026-09-11 10:56:28 | Re: Changing shared_buffers without restart |