Re: archive_command fails but works outside of Postgres

From: twoflower <standa(dot)kurik(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: archive_command fails but works outside of Postgres
Date: 2017-08-18 20:35:51
Message-ID: 1503088551539-5979059.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Scott Marlowe-2 wrote
> Sounds like it depends on some envvar it doesn't see when run from the
> postmaster. If you sudo -u postgres and run it does it work?

Yes, I can do <code>su postgres</code>, execute the command and it works.

--
View this message in context: http://www.postgresql-archive.org/archive-command-fails-but-works-outside-of-Postgres-tp5979040p5979059.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message twoflower 2017-08-18 20:41:49 Re: archive_command fails but works outside of Postgres
Previous Message Vincenzo Romano 2017-08-18 20:15:47 Re: Results interpretation