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-0000TM-Vu@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
------
master

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

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


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

Предыдущее
От: Heikki Linnakangas
Дата:
Сообщение: pgsql: Fix overly-complicated usage of errcode_for_file_access().
Следующее
От: Tom Lane
Дата:
Сообщение: pgsql: Support synchronization of snapshots through an export/import pr