Bgwriter should PANIC if it runs out of memory for pending-fsyncs
Tom Lane <tgl@sss.pgh.pa.us>
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.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/postmaster/bgwriter.c | modified | +14 −2 |