From: | Michael Paquier <michael(at)paquier(dot)xyz> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: pageinspect: Fix memory context allocation of page in brin_revma |
Date: | 2022-03-16 03:30:42 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
pageinspect: Fix memory context allocation of page in brin_revmap_data()
This caused the function to fail, as the aligned copy of the raw page
given by the function caller was not saved in the correct memory
context, which needs to be multi_call_memory_ctx in this case.
Issue introduced by 076f4d9.
Per buildfarm members sifika, mylodon and longfin. I have reproduced
that locally with macos.
Discussion: https://postgr.es/m/[email protected]
Backpatch-through: 10
Branch
------
REL_10_STABLE
Modified Files
--------------
contrib/pageinspect/brinfuncs.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Munro | 2022-03-16 05:38:40 | pgsql: Fix race between DROP TABLESPACE and checkpointing. |
Previous Message | Thomas Munro | 2022-03-16 03:00:14 | pgsql: Fix documentation typo in commit 5e6368b4. |