pgsql: Remove ill-advised pre-check for DSM segment exhaustion. - Mailing list pgsql-committers

From Robert Haas
Subject pgsql: Remove ill-advised pre-check for DSM segment exhaustion.
Date
Msg-id E1Ya3M7-0002Yf-6i@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Remove ill-advised pre-check for DSM segment exhaustion.

dsm_control->nitems never decreases, so this is testing whether the
server has *ever* run out of DSM segments, not whether it is
*currently* out of DSM segments.

Reported off-list by Amit Kapila.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/372b97097e8c9a67326e99a07da30ab44f6f822a

Modified Files
--------------
src/backend/storage/ipc/dsm.c |   12 ------------
1 file changed, 12 deletions(-)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: Re: pgsql: Merge the various forms of transaction commit & abort records.
Next
From: Andres Freund
Date:
Subject: Re: pgsql: Merge the various forms of transaction commit & abort records.