pg_hba_bikeshed1.patch

application/octet-stream

Filename: pg_hba_bikeshed1.patch
Type: application/octet-stream
Part: 0
Message: Adding an example for replication configuration to pg_hba.conf

Patch

Same data as JSON: GET /api/v1/attachments/:id/patch the parsed metadata as JSON — format, series position, per-file stats; never the diff bytes. API reference →
Format: unified
File+
src/backend/libpq/pg_hba.conf.sample 0 0
diff --git a/src/backend/libpq/pg_hba.conf.sample b/src/backend/libpq/pg_hba.conf.sample
new file mode 100644
index 0a90b68..7e19229
*** a/src/backend/libpq/pg_hba.conf.sample
--- b/src/backend/libpq/pg_hba.conf.sample
***************
*** 80,82 ****
--- 80,85 ----
  host    all             all             127.0.0.1/32            @authmethod@
  # IPv6 local connections:
  host    all             all             ::1/128                 @authmethod@
+ # Allow replication connections to localhost, by a user with the replication privilege: 
+ # host    replication             postgres             127.0.0.1/32            @authmethod@
+ # host    replication             postgres             ::1/128                 @authmethod@