| От | Tom Lane |
|---|---|
| Тема | Re: Protecting against unexpected zero-pages: proposal |
| Дата | |
| Msg-id | 19817.1289058507@sss.pgh.pa.us обсуждение исходный текст |
| Ответ на | Protecting against unexpected zero-pages: proposal (Gurjeet Singh <singh.gurjeet@gmail.com>) |
| Ответы |
Re: Protecting against unexpected zero-pages: proposal
|
| Список | pgsql-hackers |
Gurjeet Singh <singh.gurjeet@gmail.com> writes:
> .) The basic idea is to have a magic number in every PageHeader before it is
> written to disk, and check for this magic number when performing page
> validity
> checks.
Um ... and exactly how does that differ from the existing behavior?
> .) To avoid adding a new field to PageHeader, and any code breakage, we
> reuse
> an existing member of the structure.
The amount of fragility introduced by the assumptions you have to make
for this seems to me to be vastly riskier than the risk you are trying
to respond to.
regards, tom lane
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера