On Sun, Nov 13, 2011 at 8:57 PM, Robert Haas <robertmh...@gmail.com> wrote:
> In the -M extended case, we take a snapshot from exec_parse_message(),
> and the same two in the exec_bind_message() call that are taken in the
> -M prepared case.  So reducing the prepared case from two snapshots to
> one will reduce the extended case from three snapshots to two, thus
> saving one snapshot per query regardless of how it's executed.

And here are the revised patches.  Apply refactor-portal-start
(unchanged) first and then just-one-snapshot-v2.

Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

Attachment: just-one-snapshot-v2.patch
Description: Binary data

Attachment: refactor-portal-start.patch
Description: Binary data

Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:

Reply via email to