Add max_wal_size support for postgresql 9.5