Again, I'm uneasy about hardcoded constants in the middle of scripts. Could you please use a CONSTANT_VARIABLE (that's bash naming convention) and explain where this value comes from? Something like:

```
# The "int" type in PostgreSQL supports up to 2^NN entries, which is exactly 2000000000 (obvisouly, adapt this comment to match the truth)
readonly MAX_REPORTS=2000000000
```