pgsql: Fix overly-complicated usage of errcode_for_file_access().

Поиск
Список
Период
Сортировка
От Heikki Linnakangas
Тема pgsql: Fix overly-complicated usage of errcode_for_file_access().
Дата
Msg-id E1RHfMf-0000TO-VT@gemulon.postgresql.org
обсуждение исходный текст
Список pgsql-committers
Fix overly-complicated usage of errcode_for_file_access().

No need to do  "errcode(errcode_for_file_access())", just
"errcode_for_file_access()" is enough. The extra errcode() call is useless
but harmless, so there's no user-visible bug here. Nevertheless, backpatch
to 9.1 where this code were added.

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/8e8ac0894b196c4dd8618bca1f598f13bf5e18ea

Modified Files
--------------
src/backend/replication/basebackup.c |    6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)


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

Предыдущее
От: Simon Riggs
Дата:
Сообщение: Re: pgsql: More cleanup after failed reduced-lock-levels-for-DDL feature.
Следующее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix overly-complicated usage of errcode_for_file_access().