pg_upgrade misreports full disk - Mailing list pgsql-hackers

From Peter Eisentraut
Subject pg_upgrade misreports full disk
Date
Msg-id 52839A96.8030809@gmx.net
Whole thread Raw
Responses Re: pg_upgrade misreports full disk  (Robert Haas <robertmhaas@gmail.com>)
List pgsql-hackers
When pg_upgrade encounters a full disk while copying relation files,
it reports this as:

error while copying relation "xyz" (...): Success

because it doesn't set errno in some error cases.  In other places we
treat short writes as ENOSPC, so here is a patch to do that for
pg_upgrade as well.

Attachment

pgsql-hackers by date:

Previous
From: Bruce Momjian
Date:
Subject: Re: Add \i option to bring in the specified file as a quoted literal
Next
From: Leonardo Francalanci
Date:
Subject: Re: Fast insertion indexes: why no developments