Обсуждение: pgsql: Fix overly-complicated usage of errcode_for_file_access().

Поиск
Список
Период
Сортировка

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

От
Heikki Linnakangas
Дата:
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(-)