Hi,
> "
> BEGIN;
> SAVEPOINT s;
> INSERT INTO t SELECT generate_series(1, 5);
> ROLLBACK TO SAVEPOINT s;
>
> SELECT pg_stat_force_next_flush();
>
> TRUNCATE t;
> COMMIT;
>
> SELECT pg_stat_force_next_flush();
> "
>
> produces 5 for n_ins_since_vacuum, while 0 is expected.
0 is expected, I agree. This is an issue on HEAD as well so
not a product of this patch. This should be raised in a
separate thread.
--
Sami