]> granicus.if.org Git - postgresql/commit
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:22:12 +0000 (20:22 +0300)
commit8e8ac0894b196c4dd8618bca1f598f13bf5e18ea
treeb8a7834a2c5cd8de7b7a3f82f1dbb8b14979c097
parentdff178f8017e4412d14f131e4c3b5f5b385c5598
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