Fix overly-complicated usage of errcode_for_file_access().
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sat, 22 Oct 2011 17:16:05 +0000 (20:16 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Sat, 22 Oct 2011 17:19:50 +0000 (20:19 +0300)
commitb436c72f61adf5efab435c282bfb13a29508d475
tree55ae0fab97e4b361ac5827d2c558f0b7a48426f1
parentf9c92a5a3ead738c7de0dffa203a92b4d2fec413
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.
src/backend/replication/basebackup.c