wal_insert_waring_issue

Поиск
Список
Период
Сортировка
От movead.li@highgo.ca
Тема wal_insert_waring_issue
Дата
Msg-id 2020033016585362994827@highgo.ca
обсуждение исходный текст
Список pgsql-hackers
Hello hackers,

I find a small issue in XLogInsertRecord() function: it checks whether it's able
to insert a wal by XLogInsertAllowed(), when refused it reports an error "cannot
make new WAL entries during recovery".

I notice that XLogInsertAllowed() reject to insert a wal record not only sometimes
in recovery status, but also after a 'shutdown' checkpoint. So if it's better to
add an error report message "cannot make new WAL entries during shutdown" which I
make a patch attached.

  Best regards,

Highgo Software (Canada/China/Pakistan)
URL : www.highgo.ca
EMAIL: mailto:movead(dot)li(at)highgo(dot)ca
Вложения

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

Предыдущее
От: Michael Paquier
Дата:
Сообщение: Re: Possible copy and past error? (\usr\backend\commands\analyze.c)
Следующее
От: Amit Kapila
Дата:
Сообщение: Re: error context for vacuum to include block number