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

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Avoid memcpy() with same source and destination in pgstat_recv_r
Дата
Msg-id E1kr2fH-0001v4-4y@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
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(-)


В списке pgsql-committers по дате отправления:

Предыдущее
От: Alexander Korotkov
Дата:
Сообщение: Re: pgsql: Multirange datatypes
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Doc: improve description of pgbench script weights.