diff options
author | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2017-04-07 16:58:54 -0300 |
---|---|---|
committer | Alvaro Herrera <alvherre@alvh.no-ip.org> | 2017-04-07 17:11:56 -0300 |
commit | 817cb100136a15796cbd9e70f49d20625108d782 (patch) | |
tree | 7a2c724d709b609aa8573e15e7e47b9476416daf /src/backend/commands/async.c | |
parent | 5c4488478b182983f290a61fc8cf2ec83548622b (diff) | |
download | postgresql-817cb100136a15796cbd9e70f49d20625108d782.tar.gz postgresql-817cb100136a15796cbd9e70f49d20625108d782.zip |
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
Diffstat (limited to 'src/backend/commands/async.c')
0 files changed, 0 insertions, 0 deletions