Re: Re: [COMMITTERS] pgsql: Modify the isolation tester so that multiple sessions can wait.

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Re: [COMMITTERS] pgsql: Modify the isolation tester so that multiple sessions can wait.
Дата
Msg-id 3621.1461795307@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Re: [COMMITTERS] pgsql: Modify the isolation tester so that multiple sessions can wait.  (Thomas Munro <thomas.munro@enterprisedb.com>)
Ответы Re: Re: [COMMITTERS] pgsql: Modify the isolation tester so that multiple sessions can wait.  (Mikael Kjellström <mikael.kjellstrom@mksoft.nu>)
Список pgsql-hackers
Thomas Munro <thomas.munro@enterprisedb.com> writes:
>> Also happens on OpenBSD 5.8.  Isn't this a classic case where memmove
>> is called for?  Replacing the memcpy at line 617 with memmove makes
>> the tests run successfully, but at first glance the other two
>> instances of memcpy in run_permutation should also be changed to
>> memmove, no?

Yeah, that's clearly busted.  Surprising that it has not failed on
any other platforms.

> Suggested patch attached.

Will push in a moment.
        regards, tom lane



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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pgindent
Следующее
От: Mikael Kjellström
Дата:
Сообщение: Re: Re: [COMMITTERS] pgsql: Modify the isolation tester so that multiple sessions can wait.