Re: Return codes for archive and restore commands
От | Олег Самойлов |
---|---|
Тема | Re: Return codes for archive and restore commands |
Дата | |
Msg-id | 567B704B-90EF-4442-AED0-54F976AFEEAA@ya.ru обсуждение исходный текст |
Ответ на | Re: Return codes for archive and restore commands (Michael Paquier <michael@paquier.xyz>) |
Список | 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 по дате отправления: