]> granicus.if.org Git - postgresql/commit
Open output file before sleeping in pg_recvlogical.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 16 May 2014 07:10:45 +0000 (10:10 +0300)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Fri, 16 May 2014 07:10:45 +0000 (10:10 +0300)
commite7873b74d9c1bb7a325960f52043db6de88e6e66
tree69369934582307701e082a43aaf808423ad16e96
parent07a4a93a0e35a778c77ffbbbc18de29e859e18f0
Open output file before sleeping in pg_recvlogical.

Let's complain about e.g an invalid path or permission problem sooner rather
than later. Before this patch, we would only try to open the output file
after receiving the first decoded message from the server.
src/bin/pg_basebackup/pg_recvlogical.c