Обсуждение: pgsql: Remove ill-advised pre-check for DSM segment exhaustion.

Поиск
Список
Период
Сортировка

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

От
Robert Haas
Дата:
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(-)