From: Mikael Gustavsson <mikael.gustavsson@smhi.se>
To: pgsql-hackers@lists.postgresql.org <pgsql-hackers@lists.postgresql.org>
Subject: [PATCH] Documentation
Date: Thu, 18 Dec 2025 07:31:24 +0000
Message-ID: <4ed268473fdb4cf9b0eced6c8019d353@smhi.se> (raw)
Hi
This is my first ever patch to postgresql so please guide me if i'm doing something wrong.
This patch updates some examples in documentation client-auth.sgml from md5 to scram-sha-256
Reference: https://www.postgresql.org/message-id/176595607507.978865.11597773194269211255%40wrigleys.postgresql...
KR
Mikael Gustavsson, SMHI
Attachments:DOC-update-client-auth-examples.patch (text/x-patch, 1.5K) downloaddiff --git a/doc/src/sgml/client-auth.sgml b/doc/src/sgml/client-auth.sgmlindex eb795bb0f21..a347ee18980 100644--- a/doc/src/sgml/client-auth.sgml+++ b/doc/src/sgml/client-auth.sgml@@ -889,16 +889,16 @@ host all all 192.168.0.0/16 ident map=omicro
# list of names of administrators. Passwords are required in all cases.
#
# TYPE DATABASE USER ADDRESS METHOD
-local sameuser all md5-local all /^.*helpdesk$ md5-local all @admins md5-local all +support md5+local sameuser all scram-sha-256+local all /^.*helpdesk$ scram-sha-256+local all @admins scram-sha-256+local all +support scram-sha-256
# The last two lines above can be combined into a single line:
-local all @admins,+support md5+local all @admins,+support scram-sha-256
# The database column can also use lists and file names:
-local db1,db2,@demodbs all md5+local db1,db2,@demodbs all scram-sha-256
</programlisting>
</example>
</sect1>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-hackers@postgresql.org
Cc: mikael.gustavsson@smhi.se, pgsql-hackers@lists.postgresql.org
Subject: Re: [PATCH] Documentation
In-Reply-To: <4ed268473fdb4cf9b0eced6c8019d353@smhi.se>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox