pgsql: When executing a list of queries derived from rule expansion,

From: tgl(at)postgresql(dot)org (Tom Lane)
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: When executing a list of queries derived from rule expansion,
Date: 2006-08-14 13:40:18
Message-ID: 20060814134018.960159FB28E@postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Log Message:
-----------
When executing a list of queries derived from rule expansion,
_SPI_execute_plan's return code should reflect the type of the query
that is marked canSetTag, not necessarily the last one in the list.

This is arguably a bug fix, but I'm hesitant to back-patch it because
it's the sort of subtle change that might break someone's code, and it's
best not to do that kind of thing in point releases.

Modified Files:
--------------
pgsql/src/backend/executor:
spi.c (r1.155 -> r1.156)
(http://developer.postgresql.org/cvsweb.cgi/pgsql/src/backend/executor/spi.c.diff?r1=1.155&r2=1.156)

Browse pgsql-committers by date

  From Date Subject
Next Message User Korryd 2006-08-14 13:46:19 edb-debugger - workstation: Hiroshi-san's third patch, making VC++ a
Previous Message User Korryd 2006-08-14 13:40:10 edb-debugger - workstation: Hiroshi-san's second patch (correcting my