PG-1710 Improve error message by using full path

The error message did already include the path in the restore command so
this was an oversight.
pull/238/head
Andreas Karlsson 2 months ago committed by Andreas Karlsson
parent 01a88bf14a
commit 9dc6c26cdf
  1. 2
      contrib/pg_tde/src/bin/pg_tde_archive_decrypt.c

@ -31,7 +31,7 @@ write_decrypted_segment(const char *segpath, const char *segname, int pipewr)
fd = open(segpath, O_RDONLY | PG_BINARY, 0);
if (fd < 0)
pg_fatal("could not open file \"%s\": %m", segname);
pg_fatal("could not open file \"%s\": %m", segpath);
/*
* WalSegSz extracted from the first page header but it might be

Loading…
Cancel
Save