pgsql: Reword activity message to avoid truncation
Started by Daniel Gustafsson18 days ago1 messagescomitters
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: /messages/by-id/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(-)