[COMMITTERS] pgsql: Fix reversed check of return value from sync

Поиск
Список
Период
Сортировка
От Magnus Hagander
Тема [COMMITTERS] pgsql: Fix reversed check of return value from sync
Дата
Msg-id E1cyGpJ-00037c-3Q@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix reversed check of return value from sync

While at it also update the comments in walmethods.h to make it less
likely for mistakes like this to appear in the future (thanks to Tom for
improvements to the comments).

And finally, in passing change the return type of walmethod.getlasterror
to being const, also per suggestion from Tom.

Branch
------
master

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

Modified Files
--------------
src/bin/pg_basebackup/receivelog.c |  5 ++++-
src/bin/pg_basebackup/walmethods.c |  4 ++--
src/bin/pg_basebackup/walmethods.h | 46 +++++++++++++++++++++++++++++++++++++-
3 files changed, 51 insertions(+), 4 deletions(-)


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