Обсуждение: pgsql: Open output file before sleeping in pg_recvlogical.

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

pgsql: Open output file before sleeping in pg_recvlogical.

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

Branch
------
master

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

Modified Files
--------------
src/bin/pg_basebackup/pg_recvlogical.c |   34 ++++++++++++++++----------------
1 file changed, 17 insertions(+), 17 deletions(-)