Re: why do we need two snapshots per query?

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Florian Pflug <fgp@phlo.org>
Cc: Robert Haas <robertmhaas@gmail.com>, pgsql-hackers@postgresql.org
Date: 2011-11-11T18:17:06Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Fix copyright notices, other minor editing in new range-types code.

  2. Redesign the plancache mechanism for more flexibility and efficiency.

Florian Pflug <fgp@phlo.org> writes:
> Still, optimizing only the simple protocol seems weird.

Would it be sane to decree that the "statement snapshot" lasts until
Sync is received, in extended query mode?

But frankly I do not like any of these proposals.  Making fundamental
changes in long-established semantics in the name of squeezing out a few
cycles is the wrong way to design software.

			regards, tom lane