Skip site navigation (1) Skip section navigation (2)

Disable optimization when in subtransaction

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: <pgsql-hackers(at)postgresql(dot)org>
Cc: "Dan Ports" <drkp(at)csail(dot)mit(dot)edu>
Subject: Disable optimization when in subtransaction
Date: 2011-04-04 18:38:59
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
When I was investigating this report:
besides providing a straightforward fix here:
I noted that there was nearby code which needed review, as it didn't
seem safe when in a subtransaction.  Further review confirmed this
and didn't turn up any other problems in that section of code.  So,
a fix for this overreaching optimization is attached.  Note that it
is a one-line fix except for some additional comments to explain the
This patch is in addition to and orthogonal to the first patch cited
I will add this one to the 9.1 open items list.

Attachment: ssi-subtransaction-no-optimization.patch
Description: text/plain (1.6 KB)


pgsql-hackers by date

Next:From: Tom LaneDate: 2011-04-04 18:41:08
Subject: Re: GUC assign hooks (was Re: wal_buffers = -1 and SIGHUP)
Previous:From: Dan PortsDate: 2011-04-04 18:37:07
Subject: Re: time table for beta1

Privacy Policy | About PostgreSQL
Copyright © 1996-2018 The PostgreSQL Global Development Group