| From: | Daniel Gustafsson <dgustafsson(at)postgresql(dot)org> |
|---|---|
| To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
| Subject: | pgsql: Reword activity message to avoid truncation |
| Date: | 2026-06-05 15:27:40 |
| Message-ID: | E1wVWSS-001D0N-2o@gemulon.postgresql.org |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-committers |
Reword activity message to avoid truncation
The message sent to pg_stat_activity when waiting for transactions to
end was long enough that it could get truncated when the xid included
in the string grew large. Fix by rewording to avoid truncation, using
a similar message in the logical replication code as inspiration.
Author: Daniel Gustafsson <daniel(at)yesql(dot)se>
Reported-by: ChangAo Chen <cca5507(at)qq(dot)com>
Discussion: https://postgr.es/m/tencent_47CA9CE2F91FF4D81D875E162AD69AA4900A@qq.com
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/e5e1f6dc795da65d430d59a813643739bed6cadb
Modified Files
--------------
src/backend/postmaster/datachecksum_state.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Bruce Momjian | 2026-06-05 15:38:56 | pgsql: doc PG 19 relnotes: add more markup, move some items to sysviews |
| Previous Message | Peter Eisentraut | 2026-06-05 07:35:18 | pgsql: Fix LATERAL references in GRAPH_TABLE with multi-label pattern |