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

From: tgl(at)svr1(dot)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Bgwriter should PANIC if it runs out of memory for pending-fsyncs
Date: 2005-05-28 17:21:32
Message-ID: 20050528172132.E9EC45288E@svr1.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

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)

Browse pgsql-committers by date

  From Date Subject
Next Message Barry 2005-05-28 19:20:18 aWebBiz Newsletter - AdSense Followup
Previous Message Tom Lane 2005-05-28 05:10:47 pgsql: get_expr_result_type has to be prepared to pull type information