[COMMITTERS] pgsql: Fix double shared memory allocation. - Mailing list pgsql-committers

From Teodor Sigaev
Subject [COMMITTERS] pgsql: Fix double shared memory allocation.
Date
Msg-id E1dYVEB-0005YZ-M4@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix double shared memory allocation.

SLRU buffer lwlocks are allocated twice by oversight in commit
fe702a7b3f9f2bc5bf6d173166d7d55226af82c8 where that locks were moved to
separate tranche. The bug doesn't have user-visible effects except small
overspending of shared memory.

Backpatch to 9.6 where it was introduced.

Alexander Korotkov with small editorization by me.

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/38a4a5349c8f54a8d835675d395365d11628afac

Modified Files
--------------
src/backend/access/transam/slru.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Teodor Sigaev
Date:
Subject: [COMMITTERS] pgsql: Fix double shared memory allocation.
Next
From: Andres Freund
Date:
Subject: Re: [COMMITTERS] pgsql: Add a Gather executor node.