Re: archive_command failures report confusing exit status

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: Simon Riggs <simon(at)2ndquadrant(dot)com>
Cc: Alvaro Herrera <alvherre(at)alvh(dot)no-ip(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: archive_command failures report confusing exit status
Date: 2007-12-11 22:31:40
Message-ID: 200712112331.41363.peter_e@gmx.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Simon Riggs wrote:
> I prefer archive_command = ... for the errdetail though. The commands
> can be quite long so the extra words don't really add anything, plus
> they require translation.

I did like this suggestion, but then I noticed, we don't actually report the
setting of the archive_command setting but the actual command that was
executed, with the placeholders filled out. So I think the way I posted it
is more correct.

--
Peter Eisentraut
http://developer.postgresql.org/~petere/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2007-12-11 22:42:35 printQuery API change proposal (was Re: psql \dFp's behavior)
Previous Message Tom Lane 2007-12-11 22:01:38 Re: psql \dFp's behavior