That's not the case here, I don't have this variable set anywhere where gsutil works.
%p
is not the full path, it is relative to the cluster's data directory (as described in the documentation).
Not using %f
is not a problem - gsutil is invoked in the following way:
gsutil <full_path> <storage_dir>Also, as I mentioned, the command works fine when copied verbatim from the log error message and executed manually.
View this message in context: Re: archive_command fails but works outside of Postgres
Sent from the PostgreSQL - general mailing list archive at Nabble.com.