Re: Possible to create a hidden collation

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Possible to create a hidden collation
Дата
Msg-id db17b95155e442515f8982cd3f8fa378841b006f.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: Possible to create a hidden collation  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
On Thu, 2023-05-11 at 20:02 -0400, Tom Lane wrote:
> What happens if somebody makes a user-defined collation in template0
> and then clones that into a different encoding?

I didn't know changing template0 was supported behavior for normal
operation.

>   I guess the user-defined
> collation would then be hidden/inaccessible in the clone DB, so maybe
> it's
> fine.

Assuming we do support changes to template0, the fix would prevent
users from making a new ICU collation in template0 that is visible to
all encodings, other than calling pg_import_system_collations(). That
doesn't sound like a big problem; it's already impossible to do that
with libc collations.

Regards,
    Jeff Davis




В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Possible to create a hidden collation
Следующее
От: PG Bug reporting form
Дата:
Сообщение: BUG #17929: LLVMBuildGEP: symbol not found