pgsql: Rename pg_rewind's copy_file_range() to avoid conflict withnew

Поиск
Список
Период
Сортировка
От Andres Freund
Тема pgsql: Rename pg_rewind's copy_file_range() to avoid conflict withnew
Дата
Msg-id E1eWpqb-000673-UZ@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Rename pg_rewind's copy_file_range() to avoid conflict with new linux syscall.

Upcoming versions of glibc will contain copy_file_range(2), a wrapper
around a new linux syscall for in-kernel copying of data ranges. This
conflicts with pg_rewinds function of the same name.

Therefore rename pg_rewinds version. As our version isn't a generic
copying facility we decided to choose a rewind specific function name.

Per buildfarm animal caiman and subsequent discussion with Tom Lane.

Author: Andres Freund
Discussion:
    https://postgr.es/m/20180103033425.w7jkljth3e26sduc@alap3.anarazel.de
    https://postgr.es/m/31122.1514951044@sss.pgh.pa.us
Backpatch: 9.5-, where pg_rewind was introduced

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/3e68686e2c55799234ecd020bd1621f913d65475

Modified Files
--------------
src/bin/pg_rewind/copy_fetch.c | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)


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

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: pgsql: Fix use of config-specific libraries for Windows OpenSSL
Следующее
От: Andres Freund
Дата:
Сообщение: pgsql: Rename pg_rewind's copy_file_range() to avoid conflict withnew