Re: Move defaults toward ICU in 16?

Поиск
Список
Период
Сортировка
От Jeff Davis
Тема Re: Move defaults toward ICU in 16?
Дата
Msg-id 2a7feb71dbdcea31478b3974b8075982ac2326d2.camel@j-davis.com
обсуждение исходный текст
Ответ на Re: Move defaults toward ICU in 16?  (Jeff Davis <pgsql@j-davis.com>)
Ответы Re: Move defaults toward ICU in 16?  (Andres Freund <andres@anarazel.de>)
Re: Move defaults toward ICU in 16?  (Pavel Stehule <pavel.stehule@gmail.com>)
Re: Move defaults toward ICU in 16?  (Justin Pryzby <pryzby@telsasoft.com>)
Re: Move defaults toward ICU in 16?  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
On Fri, 2023-02-17 at 00:06 -0800, Jeff Davis wrote:
> On Tue, 2023-02-14 at 09:59 -0800, Andres Freund wrote:
> > I am saying that pg_upgrade should be able to deal with the
> > difference. The
> > details of how to implement that, don't matter that much.
>
> To clarify, you're saying that pg_upgrade should simply update
> pg_database to set the new databases' collation fields equal to that
> of
> the old cluster?

Thinking about this more, it's not clear to me if this would be in
scope for pg_upgrade or not. If pg_upgrade is fixing up the new cluster
rather than checking for compatibility, why doesn't it just take over
and do the initdb for the new cluster itself? That would be less
confusing for users, and avoid some weirdness (like, if you drop the
database "postgres" on the original, why does it reappear after an
upgrade?).

Someone might want to do something interesting to the new cluster
before the upgrade, but it's not clear from the docs what would be both
useful and safe.

Regards,
    Jeff Davis




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

Предыдущее
От: Jacob Champion
Дата:
Сообщение: Re: [PATCH] Align GSS and TLS error handling in PQconnectPoll()
Следующее
От: Andres Freund
Дата:
Сообщение: Re: Move defaults toward ICU in 16?