Broken API specification for walrcv_receive

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Broken API specification for walrcv_receive
Дата
Msg-id 30372.1460651323@sss.pgh.pa.us
обсуждение исходный текст
Ответы Re: Broken API specification for walrcv_receive
Список pgsql-hackers
I noticed thanks to a buildfarm warning that replication/walreceiver.h
now declares the walrcv_receive hook as

typedef int (*walrcv_receive_type) (char **buffer, int *wait_fd);

This is flat out wrong, isn't it?  wait_fd needs to be of type pgsocket,
which is a different width from "int" on Windows.
        regards, tom lane



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

Предыдущее
От: Andres Freund
Дата:
Сообщение: Re: Suspicious behaviour on applying XLOG_HEAP2_VISIBLE.
Следующее
От: Jim Nasby
Дата:
Сообщение: Re: Refactor pg_dump as a library?