Re: Return codes for archive and restore commands - Mailing list pgsql-docs

From Олег Самойлов
Subject Re: Return codes for archive and restore commands
Date
Msg-id 567B704B-90EF-4442-AED0-54F976AFEEAA@ya.ru
Whole thread Raw
In response to Re: Return codes for archive and restore commands  (Michael Paquier <michael@paquier.xyz>)
List pgsql-docs
> If you were to rewrite those paragraphs or make them more precise, how
> would you actually shape your suggestions?  I personally quite like the
> current formulations, but I am rather used to it to be honest.
> --
> Michael

Yep, I am for make them more precise. Now this paragraphs describe PostgreSQL and bash behavior  for users of
PostgreSQLand may be they are good in this. But for a script or application programmer must be described not only
behaviorof PostgreSQL, but also precisely described the program interface. For instance, aws cli utility, that I used
formy archive and restore commands sometimes return 255 code, for instance, in a case of network fault to connect to S3
(objectget command). And I was surprised that the PostgreSQL suddenly stoped in such case, there was nothing in
documentationabout this.  So explicitly describing behavior of PostgreSQL in terms of script returning codes will be
usefulfor script programmes. 

pgsql-docs by date:

Previous
From: Jürgen Purtz
Date:
Subject: Re: First SVG graphic
Next
From: Michael Paquier
Date:
Subject: Re: Typo in description of replay_lag attribute inpg_stat_replication view