PG::append_log: fix assertion