Rewrite, normal execution vs. EXPLAIN ANALYZE

Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>

From: Marko Tiikkaja <marko.tiikkaja@cs.helsinki.fi>
To: pgsql-hackers@postgresql.org
Date: 2010-07-22T17:43:35Z
Lists: pgsql-hackers
Hi,

 From the code I understood that when executing a query "normally", in 
READ COMMITTED mode, we take a new snapshot for every query that comes 
out of rewrite.  But in an EXPLAIN ANALYZE, we only update the CID of 
the snapshot taken when the EXPLAIN started.

Did I misunderstand the code?  And if I didn't, why do we do this 
differently?


Regards,
Marko Tiikkaja