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

pgsql: Fix a couple of places in execMain that erroneously assumed that

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix a couple of places in execMain that erroneously assumed that
Date: 2008-04-21 03:49:45
Message-ID: 20080421034945.876217559CC@cvs.postgresql.org (view raw or flat)
Thread:
Lists: pgsql-committers
Log Message:
-----------
Fix a couple of places in execMain that erroneously assumed that SELECT FOR
UPDATE/SHARE couldn't occur as a subquery in a query with a non-SELECT
top-level operation.  Symptoms included outright failure (as in report from
Mark Mielke) and silently neglecting to take the requested row locks.

Back-patch to 8.3, because the visible failure in the INSERT ... SELECT case
is a regression from 8.2.  I'm a bit hesitant to back-patch further given the
lack of field complaints.

Modified Files:
--------------
    pgsql/src/backend/executor:
        execMain.c (r1.305 -> r1.306)
        (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execMain.c?r1=1.305&r2=1.306)

pgsql-committers by date

Next:From: Tom LaneDate: 2008-04-21 03:49:51
Subject: pgsql: Fix a couple of places in execMain that erroneously assumed that
Previous:From: Andrew DunstanDate: 2008-04-21 02:58:05
Subject: Re: pgsql: Add FLOAT4PASSBYVAL/FLOAT8PASSBYVAL to pg_config.h.win32, as a

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