use UNLOGGED automatically if pg >= 9.1