diff --git a/internal/services/postgres/validate/postgresql_database_collation.go b/internal/services/postgres/validate/postgresql_database_collation.go index 280612a7d05c..28583744e3ed 100644 --- a/internal/services/postgres/validate/postgresql_database_collation.go +++ b/internal/services/postgres/validate/postgresql_database_collation.go @@ -271,12 +271,13 @@ var languageCodes = map[string]struct{}{ } var specialCases = map[string]struct{}{ - ".utf8": {}, - "C": {}, - "POSIX": {}, - "English_United States.1252": {}, - "ucs_basic": {}, - "default": {}, + ".utf8": {}, + "C": {}, + "POSIX": {}, + "English_United Kingdom.1252": {}, + "English_United States.1252": {}, + "ucs_basic": {}, + "default": {}, } var databaseCollationDidNotMatchError = func(fieldName, value string) error { diff --git a/internal/services/postgres/validate/postgresql_database_collation_test.go b/internal/services/postgres/validate/postgresql_database_collation_test.go index e40362dfeca7..2c776a0287a1 100644 --- a/internal/services/postgres/validate/postgresql_database_collation_test.go +++ b/internal/services/postgres/validate/postgresql_database_collation_test.go @@ -136,13 +136,14 @@ func TestPostgresqlDatabaseCollation_LocalesThirdComponent(t *testing.T) { func TestPostgresqlDatabaseCollation_SpecialCases(t *testing.T) { cases := map[string]struct{}{ // these are special-cases - ".utf8": {}, - "C": {}, - "POSIX": {}, - "English_United States.1252": {}, - "En-US": {}, - "ucs_basic": {}, - "default": {}, + ".utf8": {}, + "C": {}, + "POSIX": {}, + "English_United Kingdom.1252": {}, + "English_United States.1252": {}, + "En-US": {}, + "ucs_basic": {}, + "default": {}, } for value := range cases { t.Run(fmt.Sprintf("Value %q", value), func(t *testing.T) {