| От | Michael Paquier |
|---|---|
| Тема | Re: Always bump PG_CONTROL_VERSION? |
| Дата | |
| Msg-id | YJyJRqNoTsbxUb/H@paquier.xyz обсуждение |
| Ответ на | Re: Always bump PG_CONTROL_VERSION? (Andres Freund <andres@anarazel.de>) |
| Ответы |
Re: Always bump PG_CONTROL_VERSION?
Re: Always bump PG_CONTROL_VERSION? |
| Список | pgsql-hackers |
On Wed, May 12, 2021 at 01:30:27PM -0700, Andres Freund wrote: > That said, I don't think it's a good practice to use the control file > version as an identifier for the major version. Who knows, it might be > necessary to add an optional new format in a minor version at some point > or such crazyness. And then there's the beta stuff you'd mentioned, etc. Yes, PG_VERSION, as you wrote upthread already, is already fine for the job, and FWIW, I have yet to see a case where being able to easily detect the minor version in a data folder matters. And, I am of the opinion to not change the control file version if there is no need to do so. -- Michael
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера