Check that Postgres database and user names are only numbers, lowercase letters and underscores.