On Mon, Nov 30, 2015 at 9:53 PM, Michael Paquier <michael.paqu...@gmail.com> wrote: >> I feel quite uncomfortable that it solves the problem from a kind >> of nature of unlogged object by arbitrary flagging which is not >> fully corresponds to the nature. If we can deduce the necessity >> of fsync from some nature, it would be preferable. > > INIT_FORKNUM is not something only related to unlogged relations, > indexes use them as well.
Eh, what? Indexes use them if they are indexes on unlogged tables, but they'd better not use them in any other situation. Otherwise bad things are going to happen. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (email@example.com) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers