pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: pageinspect: Fix memory context allocation of page in brin_revma
6+ messages / 1 participants
[nested] [flat]

* pgsql: pageinspect: Fix memory context allocation of page in brin_revma
@ 2022-03-16 03:30 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 6+ messages in thread

From: Michael Paquier @ 2022-03-16 03:30 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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/YjFPOtfCW6yLXUeM@paquier.xyz
Backpatch-through: 10

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/4477dcb207c23f808737a5059157a085212f55e9

Modified Files
--------------
contrib/pageinspect/brinfuncs.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: pageinspect: Fix memory context allocation of page in brin_revma
@ 2022-03-16 03:30 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 6+ messages in thread

From: Michael Paquier @ 2022-03-16 03:30 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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/YjFPOtfCW6yLXUeM@paquier.xyz
Backpatch-through: 10

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/dc5b3bdae31690e11839079e15b74ba0df0aa167

Modified Files
--------------
contrib/pageinspect/brinfuncs.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: pageinspect: Fix memory context allocation of page in brin_revma
@ 2022-03-16 03:30 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 6+ messages in thread

From: Michael Paquier @ 2022-03-16 03:30 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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/YjFPOtfCW6yLXUeM@paquier.xyz
Backpatch-through: 10

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/028a3c6b1cb1933a17bab5bdf22d7431357763b7

Modified Files
--------------
contrib/pageinspect/brinfuncs.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: pageinspect: Fix memory context allocation of page in brin_revma
@ 2022-03-16 03:30 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 6+ messages in thread

From: Michael Paquier @ 2022-03-16 03:30 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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/YjFPOtfCW6yLXUeM@paquier.xyz
Backpatch-through: 10

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/5cb770210178d8589e2e57da553441b2a6799776

Modified Files
--------------
contrib/pageinspect/brinfuncs.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: pageinspect: Fix memory context allocation of page in brin_revma
@ 2022-03-16 03:30 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 6+ messages in thread

From: Michael Paquier @ 2022-03-16 03:30 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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/YjFPOtfCW6yLXUeM@paquier.xyz
Backpatch-through: 10

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/09c97746d00065ff5c62d157b8f95d1659850059

Modified Files
--------------
contrib/pageinspect/brinfuncs.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: pageinspect: Fix memory context allocation of page in brin_revma
@ 2022-03-16 03:30 Michael Paquier <michael@paquier.xyz>
  0 siblings, 0 replies; 6+ messages in thread

From: Michael Paquier @ 2022-03-16 03:30 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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/YjFPOtfCW6yLXUeM@paquier.xyz
Backpatch-through: 10

Branch
------
REL_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/07e343513b85ea152f4cc2d3afeb2d4c87bbda77

Modified Files
--------------
contrib/pageinspect/brinfuncs.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2022-03-16 03:30 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-03-16 03:30 pgsql: pageinspect: Fix memory context allocation of page in brin_revma Michael Paquier <michael@paquier.xyz>
2022-03-16 03:30 pgsql: pageinspect: Fix memory context allocation of page in brin_revma Michael Paquier <michael@paquier.xyz>
2022-03-16 03:30 pgsql: pageinspect: Fix memory context allocation of page in brin_revma Michael Paquier <michael@paquier.xyz>
2022-03-16 03:30 pgsql: pageinspect: Fix memory context allocation of page in brin_revma Michael Paquier <michael@paquier.xyz>
2022-03-16 03:30 pgsql: pageinspect: Fix memory context allocation of page in brin_revma Michael Paquier <michael@paquier.xyz>
2022-03-16 03:30 pgsql: pageinspect: Fix memory context allocation of page in brin_revma Michael Paquier <michael@paquier.xyz>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox