pgsql: Ensure that INSERT ...

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Ensure that INSERT ...
Date: 2009-02-08 18:02:27
Message-ID: 20090208180227.9203D7559ED@cvs.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
Ensure that INSERT ... SELECT into a table with OIDs never copies row OIDs
from the source table. This could never happen anyway before 8.4 because
the executor invariably applied a "junk filter" to rows due to be inserted;
but now that we skip doing that when it's not necessary, the case can occur.
Problem noted 2008-11-27 by KaiGai Kohei, though I misunderstood what he
was on about at the time (the opacity of the patch he proposed didn't help).

Modified Files:
--------------
pgsql/src/backend/executor:
execMain.c (r1.322 -> r1.323)
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/execMain.c?r1=1.322&r2=1.323)

Browse pgsql-committers by date

  From Date Subject
Next Message Bruce Momjian 2009-02-09 14:09:56 pgsql: Fix spelling error in docs.
Previous Message ormod 2009-02-08 13:13:51 pgmemcache: pgmemcache README.pgmemcache