Re: pg_upgarde: The control data check for equal max_index_keys in old and new version
В списке pgsql-novice по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: pg_upgarde: The control data check for equal max_index_keys in old and new version |
| Дата | |
| Msg-id | 19574.1461296747@sss.pgh.pa.us обсуждение |
| Ответ на | pg_upgarde: The control data check for equal max_index_keys in old and new version (neha khatri <nehakhatri5@gmail.com>) |
| Ответы |
Re: pg_upgarde: The control data check for equal
max_index_keys in old and new version
|
| Список | pgsql-novice |
neha khatri <nehakhatri5@gmail.com> writes:
> I have recently started working on Postgresql and I was looking in the the
> pg_upgrade code. pg_upgrade checks index control data(max_index_keys) to be
> equal in the old and new version.
> I would like to understand why the number of index columns should be equal
> in new and old versions.
Because that changes the size of index tuple headers, see
src/include/access/itup.h
> Can the number of maximum index columns not be
> changed from one release to another release.
Sure, as long as you don't care about on-disk database compatibility.
The checks associated with pg_control are meant to ensure exactly
that, though.
regards, tom lane
В списке pgsql-novice по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера