pgsql: In bootstrap mode,don't allow the creation of files if they don
В списке pgsql-committers по дате отправления:
| От | Amit Kapila |
|---|---|
| Тема | pgsql: In bootstrap mode,don't allow the creation of files if they don |
| Дата | |
| Msg-id | E1gnwfx-0002nt-34@gemulon.postgresql.org обсуждение исходный текст |
| Список | pgsql-committers |
In bootstrap mode, don't allow the creation of files if they don't already exist. In commit's b9d01fe288 and 3908473c80, we have added some code where we allowed the creation of files during mdopen even if they didn't exist during the bootstrap mode. The later commit obviates the need for same. This was harmless code till now but with an upcoming feature where we don't allow to create FSM for small tables, this will needlessly create FSM files. Author: John Naylor Reviewed-by: Amit Kapila Discussion: https://www.postgresql.org/message-id/CAJVSVGWvB13PzpbLEecFuGFc5V2fsO736BsdTakPiPAcdMM5tQ@mail.gmail.com https://www.postgresql.org/message-id/CAA4eK1KsET6sotf+rzOTQfb83pzVEzVhbQi1nxGFYVstVWXUGw@mail.gmail.com Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/d66e3664b8baf41908865ad363c6ba943e6f9c4e Modified Files -------------- src/backend/storage/smgr/md.c | 33 ++++++++------------------------- 1 file changed, 8 insertions(+), 25 deletions(-)
В списке pgsql-committers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера