pgsql: Error out in pg_rewind if lstat() fails.

From: Heikki Linnakangas <heikki(dot)linnakangas(at)iki(dot)fi>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Error out in pg_rewind if lstat() fails.
Date: 2015-04-15 20:15:33
Message-ID: E1YiTif-00042A-Nb@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Error out in pg_rewind if lstat() fails.

A "file not found" is expected if the source server is running, so don't
complain about that. But any other error is definitely not expected.

Branch
------
master

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

Modified Files
--------------
src/bin/pg_rewind/copy_fetch.c | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)

Responses

Browse pgsql-committers by date

  From Date Subject
Next Message Michael Paquier 2015-04-16 01:17:42 Re: pgsql: Error out in pg_rewind if lstat() fails.
Previous Message Alvaro Herrera 2015-04-15 19:15:37 Re: [COMMITTERS] pgsql: Move pg_upgrade from contrib/ to src/bin/