pgsql: Reword activity message to avoid truncation
pgsql: Reword activity message to avoid truncation
От:
Daniel Gustafsson <dgustafsson@postgresql.org>
Дата:
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 Reported-by: ChangAo Chen 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(-)