Re: pg_restore error message - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: pg_restore error message
Date
Msg-id 20200508234230.GA13115@alvherre.pgsql
Whole thread Raw
In response to pg_restore error message  (Euler Taveira <euler.taveira@2ndquadrant.com>)
List pgsql-hackers
On 2020-May-07, Euler Taveira wrote:

> While investigating a pg_restore error, I stumbled upon a message that is
> not so useful.
> 
> pg_restore: error: could not close data file: No such file or directory
> 
> Which file? File name should be printed too like in the error check for
> cfopen_read a few lines above.

Thanks for reporting.  Fix pushed to 9.5 and up.

-- 
Álvaro Herrera                https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services



pgsql-hackers by date:

Previous
From: James Coleman
Date:
Subject: Re: Incremental sorts and EXEC_FLAG_REWIND
Next
From: Alvaro Herrera
Date:
Subject: Re: pg_restore error message