pgsql: Disallow creating an ICU collation if the DB encoding won't supp

2021-09-03 Thread Tom Lane
Disallow creating an ICU collation if the DB encoding won't support it. Previously this was allowed, but the collation effectively vanished into the ether because of the way lookup_collation() works: you could not use the collation, nor even drop it. Seems better to give an error up front than to

pgsql: Disallow creating an ICU collation if the DB encoding won't supp

2021-09-03 Thread Tom Lane
Disallow creating an ICU collation if the DB encoding won't support it. Previously this was allowed, but the collation effectively vanished into the ether because of the way lookup_collation() works: you could not use the collation, nor even drop it. Seems better to give an error up front than to

pgsql: Disallow creating an ICU collation if the DB encoding won't supp

2021-09-03 Thread Tom Lane
Disallow creating an ICU collation if the DB encoding won't support it. Previously this was allowed, but the collation effectively vanished into the ether because of the way lookup_collation() works: you could not use the collation, nor even drop it. Seems better to give an error up front than to

pgsql: Disallow creating an ICU collation if the DB encoding won't supp

2021-09-03 Thread Tom Lane
Disallow creating an ICU collation if the DB encoding won't support it. Previously this was allowed, but the collation effectively vanished into the ether because of the way lookup_collation() works: you could not use the collation, nor even drop it. Seems better to give an error up front than to

pgsql: Disallow creating an ICU collation if the DB encoding won't supp

2021-09-03 Thread Tom Lane
Disallow creating an ICU collation if the DB encoding won't support it. Previously this was allowed, but the collation effectively vanished into the ether because of the way lookup_collation() works: you could not use the collation, nor even drop it. Seems better to give an error up front than to

pgsql: Disallow creating an ICU collation if the DB encoding won't supp

2021-09-03 Thread Tom Lane
Disallow creating an ICU collation if the DB encoding won't support it. Previously this was allowed, but the collation effectively vanished into the ether because of the way lookup_collation() works: you could not use the collation, nor even drop it. Seems better to give an error up front than to