Re: Using of --data-checksums

Поиск
Список
Период
Сортировка
От Michael Paquier
Тема Re: Using of --data-checksums
Дата
Msg-id 20200412060513.GA6012@paquier.xyz
обсуждение исходный текст
Ответ на Re: Using of --data-checksums  (Stephen Frost <sfrost@snowman.net>)
Ответы Re: Using of --data-checksums
Список pgsql-general
On Fri, Apr 10, 2020 at 04:37:46PM -0400, Stephen Frost wrote:
> There's definitely a lot of reasons to want to have the ability to
> change an existing cluster.  Considering the complications around
> running pg_upgrade already, I don't really think that changing the
> default of initdb would be that big a hurdle for folks to deal with-
> they'd try the pg_upgrade, get a very quick error that the new cluster
> has checksums enabled and the old one didn't, and they'd re-initdb the
> new cluster and then re-run pg_upgrade to figure out what the next issue
> is..

We discussed that a couple of months ago, and we decided to keep that
out of the upgrade story, no?  Anyway, if you want to enable or
disable data checksums on an existing cluster, you always have the
possibility to use pg_checksums --enable.  This exists in core since
12, and there is also a version on out of core for older versions of
Postgres: https://github.com/credativ/pg_checksums.  On apt-based
distributions like Debian, this stuff is under the package
postgresql-12-pg-checksums.
--
Michael

Вложения

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

Предыдущее
От: Julien Rouhaud
Дата:
Сообщение: Re: Log Unique Queries without Params?
Следующее
От: Magnus Hagander
Дата:
Сообщение: Re: Using of --data-checksums