Skip to content

Commit 51cb279

Browse files
cbandytjmoore4
andauthored
FIXUP: review, Mar 5
Co-authored-by: tjmoore4 <42497036+tjmoore4@users.noreply.github.com>
1 parent 78304bd commit 51cb279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/postgres/hba.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ func (hba *HostBasedAuthentication) quoteDatabase(name string) string {
8383

8484
func (hba *HostBasedAuthentication) quoteUser(name string) string {
8585
// Since PostgreSQL 16, a quoted string beginning with slash U+002F is
86-
// interpreted as a regular expression. Express these names a Postgres
86+
// interpreted as a regular expression. Express these names as a Postgres
8787
// regex that exactly matches the entire name.
8888
if len(name) > 0 && name[0] == '/' {
8989
name = "/^" +

0 commit comments

Comments
 (0)