pgsql: Reword activity message to avoid truncation - Mailing list pgsql-committers

From Daniel Gustafsson
Subject pgsql: Reword activity message to avoid truncation
Date
Msg-id E1wVWSS-001D0N-2o@gemulon.postgresql.org
Whole thread
List 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@yesql.se>
Reported-by: ChangAo Chen <cca5507@qq.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(-)


pgsql-committers by date:

Previous
From: Alexander Korotkov
Date:
Subject: Re: pgsql: pg_dump: scope indAttNames per index in getIndexes()
Next
From: Bruce Momjian
Date:
Subject: pgsql: doc PG 19 relnotes: add more markup, move some items to sysviews