One transaction inserts into some_table. Large data inserted so it running few minutes.
While insertion happens, if do from another transaction:
SELECT COUNT(*) FROM some_table;
it shows row count before insertion started, right?
Question: Is there any way, to check current row count in table? so it would count, what rows already inserted by first transaction too, for this moment. Is this even possible ?