pg_restore: Provide file name with one failure message

Alvaro Herrera <alvherre@alvh.no-ip.org>

Commit: b37361090e12348bb55d4a51d7f7133216798f0b
Author: Alvaro Herrera <alvherre@alvh.no-ip.org>
Date: 2020-05-08T23:38:46Z
Releases: 9.6.18
pg_restore: Provide file name with one failure message

Almost all error messages already include file name where relevant, but
this one had been overlooked.  Repair.

Backpatch to 9.5.

Author: Euler Taveira <euler.taveira@2ndquadrant.com>
Discussion: https://postgr.es/m/CAH503wA_VOrcKL_43p9atRejCDYmOZ8MzfK9S6TJrQqBqNeAXA@mail.gmail.com
Reviewed-by: Álvaro Herrera <alvherre@alvh.no-ip.org>

Files

PathChange+/−
src/bin/pg_dump/pg_backup_directory.c modified +2 −2

Discussion