Fixes for dump_postgresql
Fixes for dump_postgresql

1) Using --no-align and --tuples-only avoids a needless call to sed and echo
2) Using an if / else statement is easier to read than an OR (`||`) for a conditional
3) Using `+` instead of `{1,2}` means we can support versions of
   postgres > 99 and saves us a few characters 🏌️‍♂️
4) We can get rid of the `[ -e .../aws_environment.txt ]` conditional -
   all our environments are AWS.
5) We don't need the comment about disabling shellcheck - we're writing
   the file from docker now, so shellcheck won't complain about it not
   being written by root.
6) It's database_hostname not db_hostname
7) psql needs to be run with sudo to use the `--no-password` thing it
   seems

alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet,alphagov/govuk-puppet