Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfbff304

Browse files
committed
doc: Fix example with database regexp in HBA documentation
This HBA entry was using "local" while specifying an address, which wasincorrect. While in it, this adjusts the format of the entry to bealigned with the surroundings.Oversight in8fea868.Reported-by: Stéphane SchildknechtReviewed-by: David G. JohnstonDiscussion:https://postgr.es/m/44662001-54c4-4bfd-be93-35e01ca25fa1@gmail.comBackpatch-through: 16
1 parent7b71e5b commitfbff304

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎doc/src/sgml/client-auth.sgml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -810,12 +810,11 @@ host all all ::1/128 trust
810810
host all all localhost trust
811811

812812
# The same using a regular expression for DATABASE, that allows connection
813-
# to the database db1, db2 and any databases with a name beginning with "db"
814-
# and finishing with a number using two to four digits (like "db1234" or
815-
# "db12").
813+
# to any databases with a name beginning with "db" and finishing with a
814+
# number using two to four digits (like "db1234" or "db12").
816815
#
817-
# TYPE DATABASEUSER ADDRESS METHOD
818-
localdb1,"/^db\d{2,4}$",db2alllocalhost trust
816+
# TYPE DATABASEUSER ADDRESS METHOD
817+
host"/^db\d{2,4}$" alllocalhost trust
819818

820819
# Allow any user from any host with IP address 192.168.93.x to connect
821820
# to database "postgres" as the same user name that ident reports for

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp