Обсуждение: [COMMITTERS] pgsql: Fix new BRIN desummarize WAL record

Поиск
Список
Период
Сортировка

[COMMITTERS] pgsql: Fix new BRIN desummarize WAL record

От
Alvaro Herrera
Дата:
Fix new BRIN desummarize WAL record

The WAL-writing piece was forgetting to set the pages-per-range value.
Also, fix the declared type of struct member heapBlk, which I mistakenly
set as OffsetNumber rather than BlockNumber.

Problem was introduced by commit c655899ba9ae (April 1st).  Any system
that tries to replay the new WAL record written before this fix is
likely to die on replay and require pg_resetwal.

Reported by Tom Lane.
Discussion: https://postgr.es/m/20191.1491524824@sss.pgh.pa.us

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/817cb100136a15796cbd9e70f49d20625108d782

Modified Files
--------------
src/backend/access/brin/brin_revmap.c | 1 +
src/include/access/brin_xlog.h        | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)