pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix double shared memory allocation.
2+ messages / 1 participants
[nested] [flat]

* pgsql: Fix double shared memory allocation.
@ 2017-07-21 10:31 Teodor Sigaev <teodor@sigaev.ru>
  0 siblings, 0 replies; 2+ messages in thread

From: Teodor Sigaev @ 2017-07-21 10:31 UTC (permalink / raw)
  To: 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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/7e1fb4c59e4ac86de2640d0f3453fde270ec1ff8

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


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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

* pgsql: Fix double shared memory allocation.
@ 2017-07-21 10:32 Teodor Sigaev <teodor@sigaev.ru>
  0 siblings, 0 replies; 2+ messages in thread

From: Teodor Sigaev @ 2017-07-21 10:32 UTC (permalink / raw)
  To: 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(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


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


end of thread, other threads:[~2017-07-21 10:32 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-07-21 10:31 pgsql: Fix double shared memory allocation. Teodor Sigaev <teodor@sigaev.ru>
2017-07-21 10:32 pgsql: Fix double shared memory allocation. Teodor Sigaev <teodor@sigaev.ru>

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