From 6ebbc6ba21fd8a30d42fc0864cdc0faa978585e5 Mon Sep 17 00:00:00 2001 From: Brad Beck Date: Wed, 8 Oct 2025 13:38:28 -0500 Subject: [PATCH] Fix PgErrorText for AWS RDS Allow AWS RDS to work as expected by making `PgErrorText` less specific. Fixes #437 Signed-off-by: Brad Beck --- driver/auth_error.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/driver/auth_error.go b/driver/auth_error.go index 13cb74f..7cffa0f 100644 --- a/driver/auth_error.go +++ b/driver/auth_error.go @@ -11,7 +11,7 @@ type AuthError func(e error) bool const ( MysqlErrorText = "access denied for user" - PgErrorText = "password authentication failed for user" + PgErrorText = "authentication failed for user" ) // MySQLAuthError tests whether an error from MySQL is an authentication failure.