Обсуждение: pgsql: Bgwriter should PANIC if it runs out of memory for pending-fsyncs

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

pgsql: Bgwriter should PANIC if it runs out of memory for pending-fsyncs

От
tgl@svr1.postgresql.org (Tom Lane)
Дата:
Log Message:
-----------
Bgwriter should PANIC if it runs out of memory for pending-fsyncs
hash table.  This is a pretty unlikely scenario, since the table
should be tiny, but we can't guarantee continued correct operation
if it does occur.  Spotted by Qingqing Zhou.

Modified Files:
--------------
    pgsql/src/backend/postmaster:
        bgwriter.c (r1.15 -> r1.16)
        (http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/postmaster/bgwriter.c.diff?r1=1.15&r2=1.16)