Обсуждение: pgsql: Avoid memcpy() with same source and destination in pgstat_recv_r

Поиск
Список
Период
Сортировка

pgsql: Avoid memcpy() with same source and destination in pgstat_recv_r

От
Tom Lane
Дата:
Avoid memcpy() with same source and destination in pgstat_recv_replslot.

Same type of issue as in commit 53d4f5fef and earlier fixes; also
found by apparently-more-picky-than-the-buildfarm valgrind testing.
This one is an oversight in commit 986816750.  Since that's new in
HEAD, no need for a back-patch.

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/ed6329cfa975a13c58c44676464585cda5d317b3

Modified Files
--------------
src/backend/postmaster/pgstat.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)