darold / pgbadger

A fast PostgreSQL Log Analyzer
http://pgbadger.darold.net/
PostgreSQL License
3.49k stars 349 forks source link

Document pgBadger exit codes #745

Closed jsabater closed 2 years ago

jsabater commented 2 years ago

Dear Gilles,

First of all, merci beaucoup for your amazing pgBadger. Truly.

Second, I've been trying to find the exit codes of pgBadger in the documentation pages of pgBadger but I have not been able to. I was so sure I had read about it in the past that I was not sure whether to post this request or not. It's just to control exit codes in the script called from a cron job that runs pgBadger daily with all the required parametres (nothing out of the ordinary).

Could you please point me at the right direction?

Thanks in advance.

darold commented 2 years ago

pgBadger exit code:

Commit 2a99d51 fixes the documentation about return codes and also some wrong return code at some places.

jsabater commented 2 years ago

Excellent. Thank you very much. :-)