v2-0001-Update-pg_hba.conf-example-to-reflect-MD5-depreca.patch
application/octet-stream
Filename: v2-0001-Update-pg_hba.conf-example-to-reflect-MD5-depreca.patch
Type: application/octet-stream
Part: 0
Message:
Re: [PATCH] Documentation
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: format-patch
Series: patch v2-0001
Subject: Update pg_hba.conf example to reflect MD5 deprecation, take 2.
| File | + | − |
|---|---|---|
| doc/src/sgml/high-availability.sgml | 1 | 1 |
| doc/src/sgml/logical-replication.sgml | 1 | 1 |
From 6155c097a3c29e1983c100e82836bb00af49be6f Mon Sep 17 00:00:00 2001
From: Fujii Masao <fujii@postgresql.org>
Date: Sat, 20 Dec 2025 00:08:00 +0900
Subject: [PATCH v2] Update pg_hba.conf example to reflect MD5 deprecation,
take 2.
---
doc/src/sgml/high-availability.sgml | 2 +-
doc/src/sgml/logical-replication.sgml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/doc/src/sgml/high-availability.sgml b/doc/src/sgml/high-availability.sgml
index 81eeadd6c47..b512b424c1c 100644
--- a/doc/src/sgml/high-availability.sgml
+++ b/doc/src/sgml/high-availability.sgml
@@ -857,7 +857,7 @@ archive_cleanup_command = 'pg_archivecleanup /path/to/archive "%r"'
# as a replication standby if the user's password is correctly supplied.
#
# TYPE DATABASE USER ADDRESS METHOD
-host replication foo 192.168.1.100/32 md5
+host replication foo 192.168.1.100/32 scram-sha-256
</programlisting>
</para>
<para>
diff --git a/doc/src/sgml/logical-replication.sgml b/doc/src/sgml/logical-replication.sgml
index aa013f348d4..c87a7b50cc4 100644
--- a/doc/src/sgml/logical-replication.sgml
+++ b/doc/src/sgml/logical-replication.sgml
@@ -3518,7 +3518,7 @@ wal_level = logical
(the values here depend on your actual network configuration and user you
want to use for connecting):
<programlisting>
-host all repuser 0.0.0.0/0 md5
+host all repuser 0.0.0.0/0 scram-sha-256
</programlisting>
</para>
--
2.51.2