pgsql: Use memmove() not memcpy() to slide some pointers down.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема pgsql: Use memmove() not memcpy() to slide some pointers down.
Дата
Msg-id E1avXnw-00086V-SN@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Use memmove() not memcpy() to slide some pointers down.

The previous coding here was formally undefined, though it seems to
accidentally work on most platforms in the buildfarm.  Caught by some
OpenBSD platforms in which libc contains an assertion check for
overlapping areas passed to memcpy().

Thomas Munro

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/ad520ec4acb8f0cdb143b63519be95a9549fa826

Modified Files
--------------
src/test/isolation/isolationtester.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: pgsql: Clean up parsing of synchronous_standby_names GUC variable.
Следующее
От: Bruce Momjian
Дата:
Сообщение: pgsql: pg_upgrade: Fix indentation of if() block