Re: GIN needs tonic

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: GIN needs tonic
Дата
Msg-id 11951.1253026081@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: GIN needs tonic  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Ответы Re: GIN needs tonic  (Heikki Linnakangas <heikki.linnakangas@enterprisedb.com>)
Список pgsql-bugs
Heikki Linnakangas <heikki.linnakangas@enterprisedb.com> writes:
> This means that the WAL replay of that record type has never been tested
> correctly :-(. Looking closer at writeListPage(), why does it always
> include 'workspace' in the WAL record, even if a full-page-image is
> taken? It's not used for anything the the redo function. That's
> harmless, but bloats the WAL record unnecessary. In fact it might be
> better to never do full-page writes for that record type, since it
> completely overwrites the page anyway.

Actually, the entire thing is misdesigned from the get-go.  AFAICS
it shouldn't even have its own WAL record type --- it should be using
log_newpage().

            regards, tom lane

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

Предыдущее
От: Dave Page
Дата:
Сообщение: Re: BUG #5057: Binaries missing
Следующее
От: Robert Haas
Дата:
Сообщение: Re: error: message type 0x5a arrived from server while idle