[HACKERS] Unlogged tables and BufferSync()

2012-01-06 Thread Heikki Linnakangas
In BufferSync(), we have this: /* * Unless this is a shutdown checkpoint, we write only permanent, dirty * buffers. But at shutdown time, we write all dirty buffers. */ if (!(flags CHECKPOINT_IS_SHUTDOWN)) flags |= BM_PERMANENT;

Re: [HACKERS] Unlogged tables and BufferSync()

2012-01-06 Thread Robert Haas
On Fri, Jan 6, 2012 at 7:52 AM, Heikki Linnakangas heikki.linnakan...@enterprisedb.com wrote: In BufferSync(), we have this:        /*         * Unless this is a shutdown checkpoint, we write only permanent, dirty         * buffers.  But at shutdown time, we write all dirty buffers.