<commit_before>---
postgresql:
  pg_hba:
    - local all postgres peer
    - local all crunchyadm peer
    - host replication PATRONI_REPLICATION_USERNAME 0.0.0.0/0 md5
    - host all all 0.0.0.0/0 md5
  use_unix_socket: true
  pgpass: /tmp/.pgpass
  create_replica_methods:
    - pgbackrest
    - basebackup
  pgbackrest:
    command: 'pgbackrest --delta restore'
    keep_data: true
    no_params: true<commit_msg>A reject rule has been added for the replication user in default pg_hba.conf configuration provided in the crunchy-postgres-ha container.  This reject rule will prevent users from connecting DB as the replication user, therefore ensuring replica creation remains stable.<commit_after>---
postgresql:
  pg_hba:
    - local all postgres peer
    - local all crunchyadm peer
    - host replication PATRONI_REPLICATION_USERNAME 0.0.0.0/0 md5
    - host all PATRONI_REPLICATION_USERNAME 0.0.0.0/0 reject
    - host all all 0.0.0.0/0 md5
  use_unix_socket: true
  pgpass: /tmp/.<PASSWORD>
  create_replica_methods:
    - pgbackrest
    - basebackup
  pgbackrest:
    command: 'pgbackrest --delta restore'
    keep_data: true
    no_params: true
{'fraction_non_alphanumeric': 0.07365684575389948, 'fraction_numerical': 0.02512998266897747, 'mean_word_length': 3.139784946236559, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 5, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1872869', 'n_tokens_mistral': 403, 'n_tokens_neox': 383, 'n_words': 115}