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 <[email protected]>
Reported-by: ChangAo Chen <[email protected]>
Discussion: 
https://postgr.es/m/[email protected]

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(-)

Reply via email to