Skip to content

Commit

Permalink
fix: typo password_encrypton -> password_encryption in the error message
Browse files Browse the repository at this point in the history
  • Loading branch information
vlsi committed Feb 21, 2024
1 parent 9cde4f5 commit 388f027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pgjdbc/src/main/java/org/postgresql/PGConnection.java
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ default void alterUserPassword(String user, char[] newPassword, @Nullable String
if (encryptionType == null) {
try (ResultSet rs = stmt.executeQuery("SHOW password_encryption")) {
if (!rs.next()) {
throw new PSQLException(GT.tr("Expected a row when reading password_encrypton but none was found"),
throw new PSQLException(GT.tr("Expected a row when reading password_encryption but none was found"),
PSQLState.NO_DATA);
}
encryptionType = rs.getString(1);
Expand Down

0 comments on commit 388f027

Please sign in to comment.