Rewrite, normal execution vs. EXPLAIN ANALYZE

From: Marko Tiikkaja <marko(dot)tiikkaja(at)cs(dot)helsinki(dot)fi>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Rewrite, normal execution vs. EXPLAIN ANALYZE
Date: 2010-07-22 17:43:35
Message-ID: 4C488347.7050304@cs.helsinki.fi
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Kevin Grittner 2010-07-22 18:09:32 CommitFest 2010-07 week one progress report
Previous Message Matthew Wakeling 2010-07-22 17:30:02 Re: Trouble with COPY IN