Avoid switching between system-user and system-username in the doc
Hi hackers,
While working on [1]/messages/by-id/CAOBaU_Yp08MQOK7_k4QVyxL6sf7TURGpjX3tn1Z+WxJo2x7+GQ@mail.gmail.com it has been mentioned that this page
https://www.postgresql.org/docs/current/auth-username-maps.html is switching
between system-user and system-username.
Please find attached a tiny patch to clean that up.
[1]: /messages/by-id/CAOBaU_Yp08MQOK7_k4QVyxL6sf7TURGpjX3tn1Z+WxJo2x7+GQ@mail.gmail.com
Regards,
--
Bertrand Drouvot
PostgreSQL Contributors Team
RDS Open Source Databases
Amazon Web Services: https://aws.amazon.com
Attachments:
v1-0001-Use-system-username-instead-of-system-user-in-doc.patchtext/x-diff; charset=us-asciiDownload
From 379473a4d7172042107ef587e430f168bc133ad5 Mon Sep 17 00:00:00 2001
From: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Date: Mon, 19 Feb 2024 08:31:45 +0000
Subject: [PATCH v1] Use system-username instead of system-user in
documentation
system-username was used most of the time but system-user was used too. Using
system-username everywhere for consistency.
---
doc/src/sgml/client-auth.sgml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
100.0% doc/src/sgml/
diff --git a/doc/src/sgml/client-auth.sgml b/doc/src/sgml/client-auth.sgml
index 56747c0e36..0b7100d9d8 100644
--- a/doc/src/sgml/client-auth.sgml
+++ b/doc/src/sgml/client-auth.sgml
@@ -965,8 +965,8 @@ local db1,db2,@demodbs all md5
external authentication system with the database user name that the
user has requested to connect as. The value <literal>all</literal>
can be used as the <replaceable>database-username</replaceable> to specify
- that if the <replaceable>system-user</replaceable> matches, then this user
- is allowed to log in as any of the existing database users. Quoting
+ that if the <replaceable>system-username</replaceable> matches, then this
+ user is allowed to log in as any of the existing database users. Quoting
<literal>all</literal> makes the keyword lose its special meaning.
</para>
<para>
--
2.34.1
On Mon, 19 Feb 2024 at 09:52, Bertrand Drouvot
<bertranddrouvot.pg@gmail.com> wrote:
Please find attached a tiny patch to clean that up.
LGTM
On Mon, Feb 19, 2024 at 06:00:11PM +0100, Jelte Fennema-Nio wrote:
On Mon, 19 Feb 2024 at 09:52, Bertrand Drouvot
<bertranddrouvot.pg@gmail.com> wrote:Please find attached a tiny patch to clean that up.
LGTM
Looks like a mistake from me in efb6f4a4f9b6, will fix and backpatch
for consistency.
--
Michael