Обсуждение: 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
------
master

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

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