Re: [GENERAL] archive_command fails but works outside of Postgres - Mailing list pgsql-general

From twoflower
Subject Re: [GENERAL] archive_command fails but works outside of Postgres
Date
Msg-id 1503088551539-5979059.post@n3.nabble.com
Whole thread Raw
In response to Re: [GENERAL] archive_command fails but works outside of Postgres  (Scott Marlowe <scott.marlowe@gmail.com>)
List 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.


pgsql-general by date:

Previous
From: Vincenzo Romano
Date:
Subject: Re: [GENERAL] Results interpretation
Next
From: twoflower
Date:
Subject: Re: [GENERAL] archive_command fails but works outside of Postgres