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

Re: pgsql: Make SELECT FOR UPDATE/SHARE work on inheritance trees, by having

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)postgresql(dot)org>
Cc: pgsql-committers(at)postgresql(dot)org
Subject: Re: pgsql: Make SELECT FOR UPDATE/SHARE work on inheritance trees, by having
Date: 2008-11-20 16:35:58
Message-ID: 200811201635.mAKGZwM06609@momjian.us (view raw or flat)
Thread:
Lists: pgsql-committers
Tom Lane wrote:
> Log Message:
> -----------
> Make SELECT FOR UPDATE/SHARE work on inheritance trees, by having the plan
> return the tableoid as well as the ctid for any FOR UPDATE targets that
> have child tables.  All child tables are listed in the ExecRowMark list,
> but the executor just skips the ones that didn't produce the current row.
> 
> Curiously, this longstanding restriction doesn't seem to have been documented
> anywhere; so no doc changes.

It was documented on the TODO list;  marked as done now.

-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + If your life is a hard drive, Christ can be your backup. +

In response to

pgsql-committers by date

Next:From: Tom LaneDate: 2008-11-20 17:28:01
Subject: Re: Re: [COMMITTERS] pgsql: Silence compiler warning about ignored return value.
Previous:From: Grzegorz JaskiewiczDate: 2008-11-20 15:40:39
Subject: Re: Re: [COMMITTERS] pgsql: Silence compiler warning about ignored return value.

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